TWR
T windows api WRapper
 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);