CVS: winex/include commctrl.h,1.5,1.6

[email protected] 14 Dec 2007 20:26:08 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/include commctrl.h,1.5,1.6Update of /var/lib/cvsd/cvsroot/winex/include
In directory agravaine:/tmp/cvs-serv16263/include

Modified Files:
	commctrl.h 
Log Message:
Added definitions for some standard win32 controls.


Index: commctrl.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/commctrl.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- commctrl.h	15 Jan 2004 16:57:43 -0000	1.5
+++ commctrl.h	14 Dec 2007 20:26:06 -0000	1.6
@@ -4082,6 +4082,46 @@
   SendMessageA (hdp, DTM_GETMCFONT, 0, 0)
 
 
+/**************************************************************************
+ *  Standard controls
+ */
+#define WC_BUTTONA		"Button"
+static const WCHAR WC_BUTTONW[] = { 'B','u','t','t','o','n',0 };
+#define WC_BUTTON		WINELIB_NAME_AW(WC_BUTTON)
+
+#define BCN_FIRST               (0U-1250U)
+#define BCN_LAST                (0U-1350U)
+
+#define BCN_HOTITEMCHANGE       (BCN_FIRST + 0x0001)
+
+#define BST_HOT                 0x0200
+
+typedef struct tagNMBCHOTITEM
+{
+  NMHDR hdr;
+  DWORD dwFlags;
+} NMBCHOTITEM, *LPNMBCHOTITEM;
+
+#define WC_STATICA		"Static"
+static const WCHAR WC_STATICW[] = { 'S','t','a','t','i','c',0 };
+#define WC_STATIC		WINELIB_NAME_AW(WC_STATIC)
+
+#define WC_EDITA		"Edit"
+static const WCHAR WC_EDITW[] = { 'E','d','i','t',0 };
+#define WC_EDIT			WINELIB_NAME_AW(WC_EDIT)
+
+#define WC_LISTBOXA		"ListBox"
+static const WCHAR WC_LISTBOXW[] = { 'L','i','s','t','B','o','x',0 };
+#define WC_LISTBOX		WINELIB_NAME_AW(WC_LISTBOX)
+
+#define WC_COMBOBOXA		"ComboBox"
+static const WCHAR WC_COMBOBOXW[] = { 'C','o','m','b','o','B','o','x',0 };
+#define WC_COMBOBOX		WINELIB_NAME_AW(WC_COMBOBOX)
+
+#define WC_SCROLLBARA		"ScrollBar"
+static const WCHAR WC_SCROLLBARW[] = { 'S','c','r','o','l','l','B','a','r',0 };
+#define WC_SCROLLBAR		WINELIB_NAME_AW(WC_SCROLLBAR)
+