4 * Copyright 1993 Alexandre Julliard
7 #ifndef __WINE_DIALOG_H
8 #define __WINE_DIALOG_H
12 /* Dialog info structure.
13 * This structure is stored into the window extra bytes (cbWndExtra).
14 * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
21 INT msgResult
; /* +00 Last message result */
22 HWINDOWPROC dlgProc
; /* +04 Dialog procedure */
23 LONG userInfo
; /* +08 User information (for DWL_USER) */
25 /* implementation-dependent part */
27 HWND16 hwndFocus
; /* Current control with focus */
28 HFONT16 hUserFont
; /* Dialog font */
29 HMENU16 hMenu
; /* Dialog menu */
30 UINT16 xBaseUnit
; /* Dialog units (depends on the font) */
32 INT idResult
; /* EndDialog() result / default pushbutton ID */
33 UINT16 flags
; /* EndDialog() called for this dialog */
34 HGLOBAL16 hDialogHeap
;
40 #define DF_OWNERENABLED 0x0002
42 extern BOOL
DIALOG_Init(void);
44 #endif /* __WINE_DIALOG_H */