Release 960928
[wine/multimedia.git] / include / dialog.h
blobfefdc45af7a1bd953a8db923f0b504a2f5a0c8be
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 HWND hwndFocus; /* Current control with focus */
23 HFONT hUserFont; /* Dialog font */
24 HMENU hMenu; /* Dialog menu */
25 WORD xBaseUnit; /* Dialog units (depends on the font) */
26 WORD yBaseUnit;
27 WORD fEnd; /* EndDialog() called for this dialog */
28 HANDLE hDialogHeap;
29 } DIALOGINFO;
31 extern BOOL DIALOG_Init(void);
32 extern HWND DIALOG_GetFirstTabItem( HWND hwndDlg );
34 #endif /* DIALOG_H */