ReactOS  0.4.15-dev-439-g292f67a
main.h
Go to the documentation of this file.
1 /*
2  * ReactOS Application
3  *
4  * main.h
5  *
6  * Copyright (C) 2002 Robert Dickenson <robd@reactos.org>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */
22 
23 #ifndef __MAIN_H__
24 #define __MAIN_H__
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #if _MSC_VER > 1000
31 #pragma once
32 #endif // _MSC_VER > 1000
33 
34 #include "resource.h"
35 
36 // #include "../../lib/ros2win/ros2win.h"
37 
39 
40 #define SPLIT_WIDTH 5
41 #define MAX_LOADSTRING 100
42 //#define BUFFER_LEN 1024
43 #define _NO_EXTENSIONS
44 
45 typedef struct {
46  HWND hWnd;
49  int nFocusPanel; // 0: left 1: right
50  int nSplitPos;
53 } ChildWnd;
54 
55 void UpdateStatusBar(void);
56 
58 // Global Variables:
59 
60 extern HINSTANCE hInst;
61 extern HACCEL hAccel;
62 extern HWND hFrameWnd;
63 extern HMENU hMenuFrame;
64 extern HWND hMDIClient;
65 extern HWND hStatusBar;
66 extern HWND hToolBar;
67 extern HFONT hFont;
68 
69 
70 extern TCHAR szTitle[];
71 extern TCHAR szFrameClass[];
72 extern TCHAR szChildClass[];
73 
74 
75 
76 #ifdef __cplusplus
77 };
78 #endif
79 
80 #endif // __MAIN_H__
HACCEL hAccel
Definition: main.c:47
HWND hMDIClient
Definition: main.c:49
HWND hStatusBar
Definition: main.cpp:35
HFONT hFont
Definition: main.c:53
void UpdateStatusBar(void)
Definition: solitaire.cpp:148
HWND hLeftWnd
Definition: main.h:47
HINSTANCE hInst
Definition: main.h:76
HWND hToolBar
Definition: mplay32.c:23
char TCHAR
Definition: xmlstorage.h:189
WCHAR szTitle[]
Definition: magnifier.c:35
HWND hWnd
Definition: main.h:78
#define MAX_PATH
Definition: compat.h:26
WCHAR szChildClass[]
Definition: main.c:40
HWND hRightWnd
Definition: main.h:48
HMENU hMenuFrame
Definition: main.c:32
HWND hFrameWnd
Definition: main.c:30
LPCWSTR szPath
Definition: env.c:35
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
Definition: main.h:58
WCHAR szFrameClass[]
Definition: main.c:39
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60