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 | |
parent | e6cf44ee5617b7afb4aa3f6a010b8718004bd1a9 (diff) | |
download | newlib-2201bc5378f6456668e840ed305c305f3feb19c4.zip newlib-2201bc5378f6456668e840ed305c305f3feb19c4.tar.gz newlib-2201bc5378f6456668e840ed305c305f3feb19c4.tar.bz2 |
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')
-rw-r--r-- | winsup/w32api/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/w32api/include/commctrl.h | 5 | ||||
-rw-r--r-- | winsup/w32api/include/winuser.h | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 3ac0275..6f6f90d 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,10 @@ +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. + 2005-01-02 Jiri Malak <Jiri.Malak@geac.cz> * include/winnt.h (GetCurrentFiber, GetFiberData): Make inline diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 524f59f..5abeba6 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) diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h index f4db88d..c8881e7 100644 --- a/winsup/w32api/include/winuser.h +++ b/winsup/w32api/include/winuser.h @@ -1533,6 +1533,10 @@ extern "C" { #define CB_SETLOCALE 345 #define CB_SETTOPINDEX 348 #define CB_SHOWDROPDOWN 335 +#if (_WIN32_WINNT >= 0x0501) +#define CB_SETMINVISIBLE 0x1701 +#define CB_GETMINVISIBLE 0x1702 +#endif #define CBN_CLOSEUP 8 #define CBN_DBLCLK 2 #define CBN_DROPDOWN 7 |