ReactOS 0.4.15-dev-8241-g63935f8
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
27extern "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
45typedef struct {
46 HWND hWnd;
49 int nFocusPanel; // 0: left 1: right
50 int nSplitPos;
53} ChildWnd;
54
55void UpdateStatusBar(void);
56
58// Global Variables:
59
60extern HINSTANCE hInst;
61extern HACCEL hAccel;
62extern HWND hFrameWnd;
63extern HMENU hMenuFrame;
64extern HWND hMDIClient;
65extern HWND hStatusBar;
66extern HWND hToolBar;
67extern HFONT hFont;
68
69
70extern TCHAR szTitle[];
71extern TCHAR szFrameClass[];
72extern TCHAR szChildClass[];
73
74
75
76#ifdef __cplusplus
77};
78#endif
79
80#endif // __MAIN_H__
HWND hWnd
Definition: settings.c:17
HFONT hFont
Definition: main.c:53
HINSTANCE hInst
Definition: dxdiag.c:13
WCHAR szFrameClass[]
Definition: main.c:44
HWND hFrameWnd
Definition: main.c:35
void UpdateStatusBar(void)
Definition: solitaire.cpp:150
HMENU hMenuFrame
Definition: main.c:37
WCHAR szChildClass[]
Definition: main.c:45
WCHAR szTitle[]
Definition: magnifier.c:35
HWND hStatusBar
Definition: main.c:36
#define MAX_PATH
Definition: compat.h:34
HWND hMDIClient
Definition: main.c:49
HACCEL hAccel
Definition: main.c:47
HWND hToolBar
Definition: mplay32.c:23
LPCWSTR szPath
Definition: env.c:37
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
Definition: main.h:61
HWND hRightWnd
Definition: main.h:48
HWND hLeftWnd
Definition: main.h:47
char TCHAR
Definition: xmlstorage.h:189