X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=include%2Fuser32%2Fregcontrol.h;fp=include%2Fuser32%2Fregcontrol.h;h=8ee2c4c24ad46191b0d37b0bb59a0b4b28eff82b;hp=0000000000000000000000000000000000000000;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/include/user32/regcontrol.h b/include/user32/regcontrol.h new file mode 100644 index 0000000..8ee2c4c --- /dev/null +++ b/include/user32/regcontrol.h @@ -0,0 +1,47 @@ +/* $Id$ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS User32 + * PURPOSE: Built-in control registration + * FILE: include/user32/regcontrol.h + * PROGRAMER: Ge van Geldorp (ge@gse.nl) + * REVISION HISTORY: 2003/06/16 GvG Created + * NOTES: + */ +#ifndef ROS_REGCONTROL_H +#define ROS_REGCONTROL_H + +#define IS_ATOM(x) \ + (((ULONG_PTR)(x) > 0x0) && ((ULONG_PTR)(x) < 0x10000)) + +/* Built-in class names (see _Undocumented_Windows_ p.418) */ +#define ICONTITLE_CLASS_ATOM MAKEINTATOMA(32772) /* IconTitle */ + +/* Built-in class descriptor */ +struct builtin_class_descr +{ + LPCWSTR name; /* class name */ + UINT style; /* class style */ + WNDPROC procW; /* Unicode window procedure */ + INT extra; /* window extra bytes */ + LPCWSTR cursor; /* cursor name */ + HBRUSH brush; /* brush or system color */ +}; + +extern void ControlsInit(void); + +extern const struct builtin_class_descr BUTTON_builtin_class; +extern const struct builtin_class_descr COMBO_builtin_class; +extern const struct builtin_class_descr COMBOLBOX_builtin_class; +extern const struct builtin_class_descr DIALOG_builtin_class; +extern const struct builtin_class_descr POPUPMENU_builtin_class; +extern const struct builtin_class_descr DESKTOP_builtin_class; +extern const struct builtin_class_descr EDIT_builtin_class; +extern const struct builtin_class_descr ICONTITLE_builtin_class; +extern const struct builtin_class_descr LISTBOX_builtin_class; +extern const struct builtin_class_descr MDICLIENT_builtin_class; +extern const struct builtin_class_descr MENU_builtin_class; +extern const struct builtin_class_descr SCROLL_builtin_class; +extern const struct builtin_class_descr STATIC_builtin_class; + +#endif /* ROS_REGCONTROL_H */