Changeset 5148 for trunk/include/win/windowsx.h
- Timestamp:
- Feb 17, 2001, 4:38:17 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/windowsx.h
r3850 r5148 1 /* $Id: windowsx.h,v 1.10 2000-07-18 18:30:42 sandervl Exp $ */2 3 1 /* Copyright (C) 1999 Corel Corporation (Paul Quinn) */ 4 2 … … 942 940 943 941 /****** COMBOBOX control message APIs *****************************************/ 942 943 #define ComboBox_Enable(hwndCtl, fEnable) EnableWindow((hwndCtl), (fEnable)) 944 #define ComboBox_GetText(hwndCtl, lpch, cchMax) GetWindowText((hwndCtl), (lpch), (cchMax)) 945 #define ComboBox_GetTextLength(hwndCtl) GetWindowTextLength(hwndCtl) 946 #define ComboBox_SetText(hwndCtl, lpsz) SetWindowText((hwndCtl), (lpsz)) 947 944 948 #define ComboBox_GetCount(hwndCtl) \ 945 949 ((int)(DWORD)SendMessage((hwndCtl), CB_GETCOUNT, 0L, 0L)) … … 1130 1134 #define FORWARD_WM_DRAWITEM(hwnd, lpDrawItem, fn) \ 1131 1135 (void)(fn)((hwnd), WM_DRAWITEM, (WPARAM)(((const DRAWITEMSTRUCT *)lpDrawItem)->CtlID), (LPARAM)(const DRAWITEMSTRUCT *)(lpDrawItem)) 1136 1137 1138 #define GET_WPARAM(wp, lp) (wp) 1139 #define GET_LPARAM(wp, lp) (lp) 1140 1141 #define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp)) 1142 #define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp)) 1132 1143 1133 1144 /****** C runtime porting macros ****************************************/
Note:
See TracChangeset
for help on using the changeset viewer.