]> sourceware.org Git - newlib-cygwin.git/commitdiff
2005-01-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>
Mon, 10 Jan 2005 11:59:25 +0000 (11:59 +0000)
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>
Mon, 10 Jan 2005 11:59:25 +0000 (11:59 +0000)
* include/commctrl.h (ComboBox_SetMinVisible,
ComboBox_GetMinVisible): Added Macros.
* include/winuser.h (CB_SETMINVISIBLE, CB_GETMINVISIBLE):
Added definitions.

winsup/w32api/ChangeLog
winsup/w32api/include/commctrl.h
winsup/w32api/include/winuser.h

index 3ac0275ec5323943866381af4fc8b42adc49c1be..6f6f90d0f7c9b28296d2f19d55bf0a043d494615 100644 (file)
@@ -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
index 524f59f1b707301779e6f9d3085bdec855515acd..5abeba6ab507d9826fc9345878756183d58bf547 100644 (file)
@@ -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)
index f4db88dee77bc8231b8e6abf349a83ad0b3fc274..c8881e7f1aff9059cd673b0299509e8b34eba247 100644 (file)
@@ -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
This page took 0.043097 seconds and 5 git commands to generate.