ReactOS
0.4.16-dev-457-g087979e
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
;
47
HWND
hLeftWnd
;
48
HWND
hRightWnd
;
49
int
nFocusPanel;
// 0: left 1: right
50
int
nSplitPos;
51
WINDOWPLACEMENT
pos
;
52
TCHAR
szPath
[
MAX_PATH
];
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__
hWnd
HWND hWnd
Definition:
settings.c:17
hFont
HFONT hFont
Definition:
main.c:53
hInst
HINSTANCE hInst
Definition:
dxdiag.c:13
szFrameClass
WCHAR szFrameClass[]
Definition:
main.c:31
hFrameWnd
HWND hFrameWnd
Definition:
main.c:22
UpdateStatusBar
void UpdateStatusBar(void)
Definition:
solitaire.cpp:150
hMenuFrame
HMENU hMenuFrame
Definition:
main.c:24
szChildClass
WCHAR szChildClass[]
Definition:
main.c:32
szTitle
WCHAR szTitle[]
Definition:
magnifier.c:35
hStatusBar
HWND hStatusBar
Definition:
main.c:23
MAX_PATH
#define MAX_PATH
Definition:
compat.h:34
pos
DWORD pos
Definition:
NtGdiDdQueryDirectDrawObject.c:15
void
Definition:
nsiface.idl:2307
hMDIClient
HWND hMDIClient
Definition:
main.c:49
hAccel
HACCEL hAccel
Definition:
main.c:47
hToolBar
HWND hToolBar
Definition:
mplay32.c:23
szPath
LPCWSTR szPath
Definition:
env.c:37
HFONT
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
HMENU
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition:
ordinal.c:63
ChildWnd
Definition:
main.h:48
ChildWnd::hRightWnd
HWND hRightWnd
Definition:
main.h:48
ChildWnd::hLeftWnd
HWND hLeftWnd
Definition:
main.h:47
_WINDOWPLACEMENT
Definition:
winuser.h:3292
resource.h
TCHAR
char TCHAR
Definition:
xmlstorage.h:189
modules
rosapps
templates
mdi
main.h
Generated on Tue Jan 14 2025 06:06:33 for ReactOS by
1.9.6