2005-01-06 13:58:04 +00:00
|
|
|
/* $Id$
|
2003-06-16 13:46:26 +00:00
|
|
|
*
|
|
|
|
* 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:
|
|
|
|
*/
|
2003-06-22 19:18:17 +00:00
|
|
|
#ifndef ROS_REGCONTROL_H
|
|
|
|
#define ROS_REGCONTROL_H
|
|
|
|
|
2003-08-15 15:12:14 +00:00
|
|
|
#define IS_ATOM(x) \
|
|
|
|
(((ULONG_PTR)(x) > 0x0) && ((ULONG_PTR)(x) < 0x10000))
|
|
|
|
|
2003-06-16 13:46:26 +00:00
|
|
|
/* Built-in class descriptor */
|
|
|
|
struct builtin_class_descr
|
|
|
|
{
|
2003-08-15 15:55:02 +00:00
|
|
|
LPCWSTR name; /* class name */
|
2003-06-16 13:46:26 +00:00
|
|
|
UINT style; /* class style */
|
2003-11-08 15:39:13 +00:00
|
|
|
WNDPROC procA; /* Ansi window procedure */
|
2009-01-12 00:36:14 +00:00
|
|
|
WNDPROC procW; /* Unicode window procedure */
|
2003-06-16 13:46:26 +00:00
|
|
|
INT extra; /* window extra bytes */
|
2003-08-15 15:55:02 +00:00
|
|
|
LPCWSTR cursor; /* cursor name */
|
2003-06-16 13:46:26 +00:00
|
|
|
HBRUSH brush; /* brush or system color */
|
|
|
|
};
|
|
|
|
|
2009-09-07 04:55:00 +00:00
|
|
|
extern DWORD RegisterDefaultClasses;
|
2007-11-16 07:12:59 +00:00
|
|
|
BOOL WINAPI RegisterSystemControls(VOID);
|
2004-12-24 17:45:59 +00:00
|
|
|
|
2003-06-16 13:46:26 +00:00
|
|
|
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;
|
2003-08-15 15:12:14 +00:00
|
|
|
extern const struct builtin_class_descr POPUPMENU_builtin_class;
|
2003-06-16 13:46:26 +00:00
|
|
|
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;
|
2003-06-22 19:18:17 +00:00
|
|
|
|
2009-09-07 04:55:00 +00:00
|
|
|
ATOM WINAPI RegisterClassExWOWW(WNDCLASSEXW *,LPDWORD,WORD,DWORD,BOOL);
|
|
|
|
|
2003-06-22 19:18:17 +00:00
|
|
|
#endif /* ROS_REGCONTROL_H */
|