Release 961013
[wine/multimedia.git] / include / dialog.h
blobdd01585e8aea21b090cd8365978951bf6c5ae9c0
1 /*
2 * Dialog definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef DIALOG_H
8 #define DIALOG_H
10 #include "windows.h"
11 #include "winproc.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 INT32 msgResult; /* Result of EndDialog() / Default button id */
20 HWINDOWPROC dlgProc; /* Dialog procedure */
21 LONG userInfo; /* User information (for DWL_USER) */
22 HWND16 hwndFocus; /* Current control with focus */
23 HFONT16 hUserFont; /* Dialog font */
24 HMENU16 hMenu; /* Dialog menu */
25 WORD xBaseUnit; /* Dialog units (depends on the font) */
26 WORD yBaseUnit;
27 WORD fEnd; /* EndDialog() called for this dialog */
28 HGLOBAL16 hDialogHeap;
29 } DIALOGINFO;
31 extern BOOL32 DIALOG_Init(void);
33 #endif /* DIALOG_H */