More clean up.  Removing hacked-in scroll-bar signal/slot handling and replacing with MFC WS_VSCROLL and WS_HSCROLL messaging.
Bugfix in CListBox destructor. Add support for CStatic text alignment flags and SS_REALSIZEIMAGE. Fix title of CFileDialogs.
Adding ShellExecute and TrackMouseEvent stubs for later impl. Changing DestroyWindow to send WM_DESTROY and moving its logic to CWnd::OnDestroy. Starting to work on figuring out why ESC in InstrumentEditDlg causes crash. Send both WM_NCMOUSEMOVE and WM_MOUSELEAVE messages on a leaveEvent to give the MFC CWnd a chance to handle either.
Pull from Jarhmander RE UINT_PTR compatibility. Fix for Shift/Ctrl keys not showing up properly in Config Shortcuts edit box. Fix for some QPainter console flooding due to trying to 'paint while not in a paintEvent'. Support for CDC transparent attachment so that subclassed MFC windows can draw on top of their base-class-rendered controls [CEdit, CStatic for now] -- this is most evident in the default text that appears in the song information CEdit boxes in the main bar if they are blank (author), etc. Fix GetDC/ReleaseDC to allow the subclassed window to be drawn on. Removing CView::event because it was not meant to be there and caused key events to be replicated unintentionally. Fix for CTestCmdUI m_bEnabled flag - set to TRUE by default otherwise sometimes menu items would mysteriously not work even though they were enabled.
Fixing support for auto menu disable. Commenting out command handler for MIDI import.
Fixing resource ID bug with IDC_TRACKS.
Removing qFatal's in CListBox unused slot implementations. Changed them to qDebug so it will be obvious if future MFC ports actually use them.
Preparing to fix CDialog key propagation problem.
Fixing bug in DestroyWindow/OnDestroy that caused graphic aliasing from leftover widget in instrument dialog.
Adding killing of window-based timers to OnDestroy.
Update TODO
Minor edits.
Adding Set/GetWindowText to CStatic to fix problem in About dialog with email and webpage not showing up due to subclassed CStatic.  Fixing selection rectangle of instrument list to match MFC FT appearance.  Adding guesses at missing system metrics from MFC FT for About dialog.
Fixing styleSheet settings for instrument list. Fixing CDialog parentage.
Fixing CRect size bugs. Checking-in to do a bisect to find another display problem that's crept in.
Fixing uninitialized variable causing windows to be hidden in debug build.
Fixing menu pop-up handling for FDS/N163 wave editor. Checked menu items and enabled menu items wasn't handling MF_BYPOSITION.
adds missing header include
fixes m_nThreadID on osx

QThread::currentThreadId() is not an integer on osx (it's a void *)
fixes ASSERT macros on osx