ReactOS  0.4.12-dev-57-g7050ac4
MainWindow.h
Go to the documentation of this file.
1 #pragma once
2 #include "GridView.h"
3 
5 {
8  int m_CmdShow;
10 
12 
13 public:
14  CCharMapWindow(void);
15  ~CCharMapWindow(void);
16 
17  bool Create(
19  _In_ int nCmdShow
20  );
21 
22 private:
24  _In_ HWND hwndDlg,
25  _In_ UINT uMsg,
28  );
29 
30  bool Initialize(
31  _In_z_ LPCTSTR lpCaption,
32  _In_ int nCmdShow
33  );
34 
35  int Run();
36  void Uninitialize(void);
37 
38  BOOL OnCreate(
39  _In_ HWND hwnd
40  );
41 
42  BOOL OnDestroy(void);
43  BOOL OnSize(void);
44 
45  BOOL OnNotify(
47  );
48 
51  );
52 
56  );
57 
58  bool CreateStatusBar(void);
59 
62  _In_ INT PartId,
64  _In_ UINT uID
65  );
66 
67  void UpdateStatusBar(
68  _In_ bool InMenuLoop
69  );
70 
71  static int CALLBACK
73  ENUMLOGFONTEXW *lpelfe,
74  NEWTEXTMETRICEXW *lpntme,
75  DWORD FontType,
77  );
78 
79  bool CreateFontComboBox(
80  );
81 
82  bool ChangeMapFont(
83  );
84 };
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
bool Create(_In_ HINSTANCE hInst, _In_ int nCmdShow)
Definition: MainWindow.cpp:38
#define CALLBACK
Definition: compat.h:27
BOOL OnCreate(_In_ HWND hwnd)
Definition: MainWindow.cpp:175
HWND m_hMainWnd
Definition: MainWindow.h:6
int32_t INT_PTR
Definition: typedefs.h:62
int32_t INT
Definition: typedefs.h:56
WPARAM wParam
Definition: combotst.c:138
UINT_PTR WPARAM
Definition: windef.h:207
CCharMapWindow(void)
Definition: MainWindow.cpp:23
HINSTANCE hInstance
Definition: charmap.c:20
static INT_PTR CALLBACK DialogProc(_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
Definition: MainWindow.cpp:316
LONG_PTR LPARAM
Definition: windef.h:208
BOOL OnContext(_In_ LPARAM lParam)
Definition: MainWindow.cpp:267
bool CreateFontComboBox()
Definition: MainWindow.cpp:461
unsigned int BOOL
Definition: ntddk_ex.h:94
~CCharMapWindow(void)
Definition: MainWindow.cpp:33
unsigned int UINT
Definition: ndis.h:50
unsigned long DWORD
Definition: ntddk_ex.h:95
HWND hStatusBar
Definition: main.cpp:35
HWND m_hStatusBar
Definition: MainWindow.h:7
HMODULE m_hRichEd
Definition: MainWindow.h:9
void Uninitialize(void)
Definition: MainWindow.cpp:91
bool Initialize(_In_z_ LPCTSTR lpCaption, _In_ int nCmdShow)
Definition: MainWindow.cpp:76
static int CALLBACK EnumDisplayFont(ENUMLOGFONTEXW *lpelfe, NEWTEXTMETRICEXW *lpntme, DWORD FontType, LPARAM lParam)
Definition: MainWindow.cpp:422
void UpdateStatusBar(_In_ bool InMenuLoop)
Definition: MainWindow.cpp:113
#define _In_
Definition: no_sal2.h:204
HINSTANCE hInst
Definition: dxdiag.c:13
#define _In_z_
Definition: no_sal2.h:239
bool StatusBarLoadString(_In_ HWND hStatusBar, _In_ INT PartId, _In_ HINSTANCE hInstance, _In_ UINT uID)
Definition: MainWindow.cpp:153
bool CreateStatusBar(void)
Definition: MainWindow.cpp:122
BOOL OnCommand(_In_ WPARAM wParam, LPARAM lParam)
Definition: MainWindow.cpp:273
CGridView * m_GridView
Definition: MainWindow.h:11
BOOL OnSize(void)
Definition: MainWindow.cpp:217
BOOL OnNotify(_In_ LPARAM lParam)
Definition: MainWindow.cpp:244
bool ChangeMapFont()
Definition: MainWindow.cpp:518
LPARAM lParam
Definition: combotst.c:139
BOOL OnDestroy(void)
Definition: MainWindow.cpp:304