Commit Graph

8 Commits

Author SHA1 Message Date
Pietro Gagliardi da23756a6a Fix helper: get rid of direct casts to HWND to make errors more obvious. 2015-04-12 23:14:56 -04:00
Pietro Gagliardi e03d9ae2bd Changed the Windows new control system to automatically assign the standard control font if a flag is set in the creation parameters structure. 2015-04-10 17:53:59 -04:00
Pietro Gagliardi 9016935d5e Changed onWM_NOTIFY() to only pass the NMHDR * in. The LPARAM is more useful as a NMHDR *, and the WPARAM contains duplicate data (http://blogs.msdn.com/b/oldnewthing/archive/2013/12/04/10473637.aspx). Ideally we wouldn't even have the NMHDR.idFrom (see previous commit message), but oh well :/ 2015-04-09 19:07:41 -04:00
Pietro Gagliardi a538412df2 Changed onWM_COMMAND() to give our controls only the notification code. We don't want to give the control the ID part of wParam because that's (or that'll be) dynamically assigned based on control parenting and prior controls; we don't want to give the control the LPARAM since that contains the window handle and uiControl already has that. 2015-04-09 18:54:14 -04:00
Pietro Gagliardi d4271c8ceb DlgUnit -> DlgUnits 2015-04-09 18:45:58 -04:00
Pietro Gagliardi 924d6d6a7c More Windows conversion. Not done yet. 2015-04-09 17:46:26 -04:00
Pietro Gagliardi cc94c0b5f8 Implemented uiCheckbox(Set)Checked() on Windows. 2015-04-09 13:10:32 -04:00
Pietro Gagliardi 69b794c0b0 Implemented uiCheckbox on Windows. Fixed build issues in the test program. 2015-04-09 12:32:59 -04:00