[GDI32]
[reactos.git] / rosapps / templates / imagesoft / mainwnd.h
1
2 typedef struct _MENU_HINT
3 {
4 WORD CmdId;
5 UINT HintId;
6 } MENU_HINT, *PMENU_HINT;
7
8 typedef struct _MAIN_WND_INFO
9 {
10 HWND hSelf;
11 HWND hMdiClient;
12 HWND hStatus;
13 int nCmdShow;
14
15 struct _FLT_WND *fltTools;
16 struct _FLT_WND *fltColors;
17 struct _FLT_WND *fltHistory;
18
19 struct _TOOLBAR_DOCKS ToolDocks;
20
21 /* Editors */
22 PEDIT_WND_INFO ImageEditors;
23 UINT ImagesCreated;
24
25 PVOID ActiveEditor;
26
27 /* status flags */
28 BOOL InMenuLoop : 1;
29 } MAIN_WND_INFO, *PMAIN_WND_INFO;
30
31 BOOL InitMainWindowImpl(VOID);
32 VOID UninitMainWindowImpl(VOID);
33 HWND CreateMainWindow(LPCTSTR lpCaption,
34 int nCmdShow);
35 BOOL MainWndTranslateMDISysAccel(HWND hwnd,
36 LPMSG lpMsg);
37 VOID MainWndSwitchEditorContext(PMAIN_WND_INFO Info,
38 HWND hDeactivate,
39 HWND hActivate);
40 MDI_EDITOR_TYPE MainWndGetCurrentEditor(PMAIN_WND_INFO MainWnd,
41 PVOID *Info);