source: trunk/include/win/dialog.h@ 4

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

File size: 1.5 KB
Line 
1/* $Id: dialog.h,v 1.1 1999-05-24 20:19:11 ktk Exp $ */
2
3/*
4 * Dialog definitions
5 *
6 * Copyright 1993 Alexandre Julliard
7 */
8
9#ifndef __WINE_DIALOG_H
10#define __WINE_DIALOG_H
11
12#include "winproc.h"
13
14 /* Dialog info structure.
15 * This structure is stored into the window extra bytes (cbWndExtra).
16 * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
17 */
18
19#include "pshpack1.h"
20
21typedef struct
22{
23 INT msgResult; /* +00 Last message result */
24 HWINDOWPROC dlgProc; /* +04 Dialog procedure */
25 LONG userInfo; /* +08 User information (for DWL_USER) */
26
27 /* implementation-dependent part */
28
29 HWND16 hwndFocus; /* Current control with focus */
30 HFONT16 hUserFont; /* Dialog font */
31 HMENU16 hMenu; /* Dialog menu */
32 UINT16 xBaseUnit; /* Dialog units (depends on the font) */
33 UINT16 yBaseUnit;
34 INT idResult; /* EndDialog() result / default pushbutton ID */
35 UINT16 flags; /* EndDialog() called for this dialog */
36 HGLOBAL16 hDialogHeap;
37} DIALOGINFO;
38
39#include "poppack.h"
40
41#define DF_END 0x0001
42
43extern BOOL DIALOG_Init(void);
44extern HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCSTR dlgTemplate,
45 BOOL win32Template, HWND owner,
46 DLGPROC16 dlgProc, LPARAM param,
47 WINDOWPROCTYPE procType );
48extern INT DIALOG_DoDialogBox( HWND hwnd, HWND owner );
49
50#endif /* __WINE_DIALOG_H */
Note: See TracBrowser for help on using the repository browser.