TWR
T windows api WRapper
Main Page
Classes
Files
File List
All
Classes
Functions
WindowAppliBase.h
1
#pragma once
2
3
#include <windows.h>
4
#include "TwrCore.h"
5
#include "BaseForm.h"
6
#include "../resource.h"
7
8
// アプリケーション共通定義
9
10
void
addModelessDialog(HWND dialog);
11
void
delModelessDialog(HWND dialog);
12
13
int
doEvents();
14
15
class
WindowAppliBase
:
public
BaseForm
{
16
public
:
17
virtual
‾WindowAppliBase
();
18
virtual
BaseForm
*
createBaseForm
();
19
virtual
int
OnAppliStart
(TCHAR *lpCmdLine);
20
virtual
int
OnWindowShow
();
21
virtual
int
OnAppliEnd
();
22
23
};
24
25
// ウインドウアプリ共通定義
26
27
#define MAX_LOADSTRING 100
28
29
extern
TCHAR szWindowClass[MAX_LOADSTRING];
// メイン ウィンドウ クラス名
30
31
WindowAppliBase
*createAppli();
32
ATOM MyRegisterClass(HINSTANCE hInstance);
33
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
WindowSample
TWR
WindowAppliBase.h
Generated on Mon Jun 25 2012 21:59:18 for TWR by
1.8.1.1