update for HEAD-2003091401
[reactos.git] / include / user32 / regcontrol.h
1 /* $Id$
2  *
3  * COPYRIGHT:        See COPYING in the top level directory
4  * PROJECT:          ReactOS User32
5  * PURPOSE:          Built-in control registration
6  * FILE:             include/user32/regcontrol.h
7  * PROGRAMER:        Ge van Geldorp (ge@gse.nl)
8  * REVISION HISTORY: 2003/06/16 GvG Created
9  * NOTES:
10  */
11 #ifndef ROS_REGCONTROL_H
12 #define ROS_REGCONTROL_H
13
14 #define IS_ATOM(x) \
15   (((ULONG_PTR)(x) > 0x0) && ((ULONG_PTR)(x) < 0x10000))
16
17 /* Built-in class names (see _Undocumented_Windows_ p.418) */
18 #define ICONTITLE_CLASS_ATOM MAKEINTATOMA(32772)  /* IconTitle */
19
20 /* Built-in class descriptor */
21 struct builtin_class_descr
22 {
23     LPCWSTR name;    /* class name */
24     UINT    style;   /* class style */
25     WNDPROC procW;   /* Unicode window procedure */
26     INT     extra;   /* window extra bytes */
27     LPCWSTR cursor;  /* cursor name */
28     HBRUSH  brush;   /* brush or system color */
29 };
30
31 extern void ControlsInit(void);
32
33 extern const struct builtin_class_descr BUTTON_builtin_class;
34 extern const struct builtin_class_descr COMBO_builtin_class;
35 extern const struct builtin_class_descr COMBOLBOX_builtin_class;
36 extern const struct builtin_class_descr DIALOG_builtin_class;
37 extern const struct builtin_class_descr POPUPMENU_builtin_class;
38 extern const struct builtin_class_descr DESKTOP_builtin_class;
39 extern const struct builtin_class_descr EDIT_builtin_class;
40 extern const struct builtin_class_descr ICONTITLE_builtin_class;
41 extern const struct builtin_class_descr LISTBOX_builtin_class;
42 extern const struct builtin_class_descr MDICLIENT_builtin_class;
43 extern const struct builtin_class_descr MENU_builtin_class;
44 extern const struct builtin_class_descr SCROLL_builtin_class;
45 extern const struct builtin_class_descr STATIC_builtin_class;
46
47 #endif /* ROS_REGCONTROL_H */