Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2005-01-10 14:59:25 +0300
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2005-01-10 14:59:25 +0300
commit2201bc5378f6456668e840ed305c305f3feb19c4 (patch)
treeb7f04acc8138534142b82164445ff82184acd54f /winsup
parente6cf44ee5617b7afb4aa3f6a010b8718004bd1a9 (diff)
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/ChangeLog7
-rw-r--r--winsup/w32api/include/commctrl.h5
-rw-r--r--winsup/w32api/include/winuser.h4
3 files changed, 16 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 3ac0275ec..6f6f90d0f 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 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)
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index f4db88dee..c8881e7f1 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