oleview: Added pane bar.
[wine] / programs / oleview / main.h
1 /*
2  * OleView (main.h)
3  *
4  * Copyright 2006 Piotr Caban
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #define COBJMACROS
22
23 #include <windows.h>
24 #include <winreg.h>
25 #include <commctrl.h>
26 #include <unknwn.h>
27 #include <wine/unicode.h>
28
29 #include "resource.h"
30
31 #define MAX_LOAD_STRING 256
32 #define MAX_WINDOW_WIDTH 30000
33
34 #define STATUS_WINDOW 2000
35
36 typedef struct
37 {
38     HWND hMainWnd;
39     HWND hPaneWnd;
40     HWND hStatusBar;
41     HWND hToolBar;
42     HINSTANCE hMainInst;
43 }GLOBALS;
44
45 typedef struct
46 {
47     HWND left;
48     HWND right;
49     INT pos;
50     INT size;
51     INT width;
52     INT height;
53     INT last;
54 }PANE;
55
56 extern GLOBALS globals;
57
58 /* Predefinitions: */
59 /* pane.c */
60 BOOL CreatePanedWindow(HWND hWnd, HWND *hWndCreated, HINSTANCE hInst);