Release 960611
[wine] / include / dialog.h
1 /*
2  * Dialog definitions
3  *
4  * Copyright 1993 Alexandre Julliard
5  */
6
7 #ifndef DIALOG_H
8 #define DIALOG_H
9
10 #include "windows.h"
11
12   /* Dialog info structure.
13    * This structure is stored into the window extra bytes (cbWndExtra).
14    * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
15    */
16 typedef struct
17 {
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;
29
30 extern BOOL DIALOG_Init(void);
31 extern HWND DIALOG_GetFirstTabItem( HWND hwndDlg );
32
33 #endif  /* DIALOG_H */