Release 960606
[wine/multimedia.git] / include / dialog.h
blobbb4b677171675c42c1aeff0fe9ce37717a154e1b
1 /*
2 * Dialog definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef DIALOG_H
8 #define DIALOG_H
10 #include "windows.h"
12 /* Dialog info structure.
13 * This structure is stored into the window extra bytes (cbWndExtra).
14 * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
16 typedef struct
18 INT32 msgResult; /* Result of EndDialog() / Default button id */
19 HANDLE32 dlgProc; /* Dialog procedure */
20 LONG userInfo; /* User information (for DWL_USER) */
21 HWND hwndFocus; /* Current control with focus */
22 HFONT hUserFont; /* Dialog font */
23 HMENU hMenu; /* Dialog menu */
24 WORD xBaseUnit; /* Dialog units (depends on the font) */
25 WORD yBaseUnit;
26 WORD fEnd; /* EndDialog() called for this dialog */
27 HANDLE hDialogHeap;
28 } DIALOGINFO;
30 extern BOOL DIALOG_Init(void);
31 extern HWND DIALOG_GetFirstTabItem( HWND hwndDlg );
33 #endif /* DIALOG_H */