DPRINT->DPRINT1 in key places (when something fails we shouldn't keep silence).
[reactos.git] / rosapps / dflat32 / classes.h
1 /* ----------- classes.h ------------ */
2 /*
3 * Class definition source file
4 * Make class changes to this source file
5 * Other source files will adapt
6 *
7 * You must add entries to the DfColor tables in
8 * DFCONFIG.C for new classes.
9 *
10 * Class Name Base Class Processor Attribute
11 * ------------ --------- --------------- -----------
12 */
13 DfClassDef( DF_NORMAL, -1, DfNormalProc, 0 )
14 DfClassDef( DF_APPLICATION, DF_NORMAL, DfApplicationProc, DF_VISIBLE |
15 DF_SAVESELF |
16 DF_CONTROLBOX )
17 DfClassDef( DF_TEXTBOX, DF_NORMAL, DfTextBoxProc, 0 )
18 DfClassDef( DF_LISTBOX, DF_TEXTBOX, DfListBoxProc, 0 )
19 DfClassDef( DF_EDITBOX, DF_TEXTBOX, DfEditBoxProc, 0 )
20 DfClassDef( DF_MENUBAR, DF_NORMAL, DfMenuBarProc, DF_NOCLIP )
21 DfClassDef( DF_POPDOWNMENU, DF_LISTBOX, DfPopDownProc, DF_SAVESELF |
22 DF_NOCLIP |
23 DF_HASBORDER )
24 #ifdef INCLUDE_PICTUREBOX
25 DfClassDef( DF_PICTUREBOX, DF_TEXTBOX, DfPictureProc, 0 )
26 #endif
27 DfClassDef( DF_DIALOG, DF_NORMAL, DfDialogProc, DF_SHADOW |
28 DF_MOVEABLE |
29 DF_CONTROLBOX|
30 DF_HASBORDER |
31 DF_NOCLIP )
32 DfClassDef( DF_BOX, DF_NORMAL, DfBoxProc, DF_HASBORDER )
33 DfClassDef( DF_BUTTON, DF_TEXTBOX, DfButtonProc, DF_SHADOW )
34 DfClassDef( DF_COMBOBOX, DF_EDITBOX, DfComboProc, 0 )
35 DfClassDef( DF_TEXT, DF_TEXTBOX, DfTextProc, 0 )
36 DfClassDef( DF_RADIOBUTTON, DF_TEXTBOX, DfRadioButtonProc, 0 )
37 DfClassDef( DF_CHECKBOX, DF_TEXTBOX, DfCheckBoxProc, 0 )
38 DfClassDef( DF_SPINBUTTON, DF_LISTBOX, DfSpinButtonProc, 0 )
39 DfClassDef( DF_ERRORBOX, DF_DIALOG, NULL, DF_SHADOW |
40 DF_HASBORDER )
41 DfClassDef( DF_MESSAGEBOX, DF_DIALOG, NULL, DF_SHADOW |
42 DF_HASBORDER )
43 DfClassDef( DF_HELPBOX, DF_DIALOG, DfHelpBoxProc, DF_MOVEABLE |
44 DF_SAVESELF |
45 DF_HASBORDER |
46 DF_NOCLIP |
47 DF_CONTROLBOX )
48 DfClassDef( DF_STATUSBAR, DF_TEXTBOX, DfStatusBarProc, DF_NOCLIP )
49
50 /*
51 * ========> Add new classes here <========
52 */
53
54 /* ---------- pseudo classes to create enums, etc. ---------- */
55 DfClassDef( DF_TITLEBAR, -1, NULL, 0 )
56 DfClassDef( DF_DUMMY, -1, NULL, DF_HASBORDER )