diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2005-01-10 11:59:25 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2005-01-10 11:59:25 +0000 |
commit | 2201bc5378f6456668e840ed305c305f3feb19c4 (patch) | |
tree | b7f04acc8138534142b82164445ff82184acd54f /winsup/w32api/include/commctrl.h | |
parent | e6cf44ee5617b7afb4aa3f6a010b8718004bd1a9 (diff) | |
download | cygnal-2201bc5378f6456668e840ed305c305f3feb19c4.tar.gz cygnal-2201bc5378f6456668e840ed305c305f3feb19c4.tar.bz2 cygnal-2201bc5378f6456668e840ed305c305f3feb19c4.zip |
2005-01-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/commctrl.h (ComboBox_SetMinVisible,
ComboBox_GetMinVisible): Added Macros.
* include/winuser.h (CB_SETMINVISIBLE, CB_GETMINVISIBLE):
Added definitions.
Diffstat (limited to 'winsup/w32api/include/commctrl.h')
-rw-r--r-- | winsup/w32api/include/commctrl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 524f59f1b..5abeba6ab 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -3066,6 +3066,11 @@ int WINAPI LBItemFromPt(HWND,POINT,BOOL); #define ListView_SetCheckState(w,i,f) ListView_SetItemState(w,i,INDEXTOSTATEIMAGEMASK((f)+1),LVIS_STATEIMAGEMASK) #define ListView_GetISearchString(w, lpsz) (BOOL)SNDMSG((w), LVM_GETISEARCHSTRING, 0, (LPARAM) (LPTSTR)(lpsz)) +#if (_WIN32_WINNT >= 0x0501) +#define ComboBox_SetMinVisible(w,i) (BOOL)SNDMSG((w), CB_SETMINVISIBLE, (WPARAM)(i), 0); +#define ComboBox_GetMinVisible(w) (int)SNDMSG((w), CB_GETMINVISIBLE, 0, 0); +#endif + BOOL WINAPI MakeDragList(HWND); void WINAPI MenuHelp(UINT,WPARAM,LPARAM,HMENU,HINSTANCE,HWND,PUINT); #define MonthCal_GetColor(hwnd,icolor) SNDMSG(hwnd,MCM_GETCOLOR,(WPARAM)icolor,(LPARAM)0) |