4 * Copyright 1993 Alexandre Julliard
7 #ifndef __WINE_DIALOG_H
8 #define __WINE_DIALOG_H
13 /* Dialog info structure.
14 * This structure is stored into the window extra bytes (cbWndExtra).
15 * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
22 INT32 msgResult
; /* +00 Last message result */
23 HWINDOWPROC dlgProc
; /* +04 Dialog procedure */
24 LONG userInfo
; /* +08 User information (for DWL_USER) */
26 /* implementation-dependent part */
28 HWND16 hwndFocus
; /* Current control with focus */
29 HFONT16 hUserFont
; /* Dialog font */
30 HMENU16 hMenu
; /* Dialog menu */
31 UINT16 xBaseUnit
; /* Dialog units (depends on the font) */
33 INT32 idResult
; /* EndDialog() result / default pushbutton ID */
34 UINT16 flags
; /* EndDialog() called for this dialog */
35 HGLOBAL16 hDialogHeap
;
42 extern BOOL32
DIALOG_Init(void);
43 extern HWND32
DIALOG_CreateIndirect( HINSTANCE32 hInst
, LPCSTR dlgTemplate
,
44 BOOL32 win32Template
, HWND32 owner
,
45 DLGPROC16 dlgProc
, LPARAM param
,
46 WINDOWPROCTYPE procType
);
47 extern INT32
DIALOG_DoDialogBox( HWND32 hwnd
, HWND32 owner
);
49 #endif /* __WINE_DIALOG_H */