source: dev/trunk/ab5.0/abdev/abdev/include/MainFrame.h @ 489

Last change on this file since 489 was 489, checked in by dai_9181, 15 years ago

abdevをATL化するための下準備

File size: 716 bytes
Line 
1#pragma once
2
3namespace ActiveBasic{ namespace IDE{
4
5
6class MainFrame
7    : public WindowComponents::BaseWindow
8{
9    WindowAreaManager wam;
10    WindowComponents::MdiWindow *mdiWindow;
11
12public:
13
14    ::LRESULT OnCreate( ::UINT msg, ::WPARAM wParam, ::LPARAM lParam, ::BOOL& handled );
15    ::LRESULT OnClose( ::UINT msg, ::WPARAM wParam, ::LPARAM lParam, ::BOOL& handled );
16    void OnSize(UINT nType, CSize size);
17    ::LRESULT OnDestroy( ::UINT msg, ::WPARAM wParam, ::LPARAM lParam, ::BOOL& handled );
18
19private:
20    // メッセージマップ
21    BEGIN_MSG_MAP( MainFrame )
22        MESSAGE_HANDLER( WM_CREATE, OnCreate )
23        MESSAGE_HANDLER( WM_CLOSE, OnClose )
24        MESSAGE_HANDLER( WM_DESTROY, OnDestroy )
25    END_MSG_MAP()
26};
27
28
29}}
Note: See TracBrowser for help on using the repository browser.