From: <dan...@us...> - 2007-10-20 17:25:24
|
Revision: 1065 http://cegcc.svn.sourceforge.net/cegcc/?rev=1065&view=rev Author: dannybackx Date: 2007-10-20 10:25:19 -0700 (Sat, 20 Oct 2007) Log Message: ----------- Change IsDlgButtonChecked into a macro, this matches the description on http://msdn2.microsoft.com/en-us/library/ms909866.aspx . Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-10-16 21:22:00 UTC (rev 1064) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-10-20 17:25:19 UTC (rev 1065) @@ -1,3 +1,8 @@ +2007-10-20 Danny Backx <dan...@us...> + + * include/winuser.h (IsDlgButtonChecked) : Change to a macro for + Windows CE. + 2007-10-16 Erik van Pienbroek <er...@va...> * include/commdlg.h (ChooseColor): New declaration, and hide Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2007-10-16 21:22:00 UTC (rev 1064) +++ trunk/cegcc/src/w32api/include/winuser.h 2007-10-20 17:25:19 UTC (rev 1065) @@ -3785,7 +3785,11 @@ WINUSERAPI BOOL WINAPI IsClipboardFormatAvailable(UINT); WINUSERAPI BOOL WINAPI IsDialogMessageA(HWND,LPMSG); WINUSERAPI BOOL WINAPI IsDialogMessageW(HWND,LPMSG); +#ifdef _WIN32_WCE +#define IsDlgButtonChecked(h, i) SendDlgItemMessageW(h, i, BM_GETCHECK, (WPARAM)(0), 0) +#else WINUSERAPI UINT WINAPI IsDlgButtonChecked(HWND,int); +#endif #if(_WIN32_WINNT >= 0x0501) WINUSERAPI BOOL WINAPI IsGUIThread(BOOL); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |