Changeset 84 for trunk/include/helpers/winh.h
- Timestamp:
- Jun 28, 2001, 7:19:16 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/winh.h
r81 r84 86 86 #define WinSendMsg(a,b,c,d) winhSendMsg((a),(b),(c),(d)) 87 87 88 MRESULT XWPENTRY winhSendDlgItemMsg(HWND hwnd, ULONG id, ULONG msg, MPARAM mp1, MPARAM mp2); 89 #define WinSendDlgItemMsg(a,b,c,d,e) winhSendDlgItemMsg((a),(b),(c),(d),(e)) 90 88 91 BOOL XWPENTRY winhPostMsg(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2); 89 92 #define WinPostMsg(a,b,c,d) winhPostMsg((a),(b),(c),(d)) … … 122 125 WinMessageBox(HWND_DESKTOP, HWND_DESKTOP, ((PSZ)text), ((PSZ)title), 0, MB_YESNO | MB_ICONQUESTION | MB_MOVEABLE) 123 126 124 // made these functions V0.9.12 (2001-05-18) [umoeller] 125 /* #define winhSetDlgItemChecked(hwnd, id, bCheck) \ 127 #define winhSetDlgItemChecked(hwnd, id, bCheck) \ 126 128 WinSendDlgItemMsg((hwnd), (id), BM_SETCHECK, MPFROMSHORT(bCheck), MPNULL) 127 129 #define winhIsDlgItemChecked(hwnd, id) \ 128 130 (SHORT1FROMMR(WinSendDlgItemMsg((hwnd), (id), BM_QUERYCHECK, MPNULL, MPNULL))) 129 */130 131 131 132 #define winhSetMenuItemChecked(hwndMenu, usId, bCheck) \ … … 159 160 * 160 161 ********************************************************************/ 161 162 BOOL XWPENTRY winhSetDlgItemChecked(HWND hwnd, SHORT id, SHORT bCheck);163 164 SHORT XWPENTRY winhIsDlgItemChecked(HWND hwnd, SHORT id);165 162 166 163 BOOL XWPENTRY winhEnableDlgItem(HWND hwndDlg, SHORT id, BOOL fEnable); … … 295 292 ULONG ulTickCount); 296 293 297 BOOL winhSetSliderTicks(HWND hwndSlider, 298 MPARAM mpEveryOther1, 299 ULONG ulPixels1, 300 MPARAM mpEveryOther2, 301 ULONG ulPixels2); 294 BOOL XWPENTRY winhSetSliderTicks(HWND hwndSlider, 295 MPARAM mpEveryOther1, 296 ULONG ulPixels1, 297 MPARAM mpEveryOther2, 298 ULONG ulPixels2); 299 typedef BOOL XWPENTRY WINHSETSLIDERTICKS(HWND hwndSlider, 300 MPARAM mpEveryOther1, 301 ULONG ulPixels1, 302 MPARAM mpEveryOther2, 303 ULONG ulPixels2); 304 typedef WINHSETSLIDERTICKS *PWINHSETSLIDERTICKS; 302 305 303 306 /*
Note:
See TracChangeset
for help on using the changeset viewer.