Release 940301
[wine/gsoc-2012-control.git] / include / dialog.h
blobb6fe1b3194225b189c767851d68e3bed25b334da
1 /*
2 * Dialog definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef DIALOG_H
8 #define DIALOG_H
10 #include "windows.h"
13 /* Dialog info structure.
14 * This structure is stored into the window extra bytes (cbWndExtra).
15 * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
17 typedef struct
19 LONG msgResult;
20 FARPROC dlgProc;
21 LONG userInfo;
22 HWND hwndFocus;
23 HFONT hUserFont;
24 HMENU hMenu;
25 WORD xBaseUnit;
26 WORD yBaseUnit;
27 WORD fEnd;
28 } DIALOGINFO;
31 /* Dialog template header */
32 typedef struct
34 DWORD style;
35 BYTE nbItems WINE_PACKED;
36 WORD x WINE_PACKED;
37 WORD y WINE_PACKED;
38 WORD cx WINE_PACKED;
39 WORD cy WINE_PACKED;
40 } DLGTEMPLATEHEADER;
43 /* Dialog control header */
44 typedef struct
46 WORD x;
47 WORD y;
48 WORD cx;
49 WORD cy;
50 WORD id;
51 DWORD style WINE_PACKED;
52 } DLGCONTROLHEADER;
55 /* Dialog template */
56 typedef struct
58 DLGTEMPLATEHEADER * header;
59 unsigned char * menuName;
60 LPSTR className;
61 LPSTR caption;
62 WORD pointSize;
63 LPSTR faceName;
64 } DLGTEMPLATE;
67 #endif /* DIALOG_H */