| Line | |
|---|
| 1 | #pragma once
|
|---|
| 2 |
|
|---|
| 3 | namespace ActiveBasic{ namespace IDE{
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 | class MainFrame
|
|---|
| 7 | : public WindowComponents::BaseWindow
|
|---|
| 8 | {
|
|---|
| 9 | WindowAreaManager wam;
|
|---|
| 10 | WindowComponents::MdiWindow *mdiWindow;
|
|---|
| 11 |
|
|---|
| 12 | public:
|
|---|
| 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 |
|
|---|
| 19 | private:
|
|---|
| 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.