#include "stdafx.h" #include "../../common.h" using namespace ActiveBasic::IDE::WindowComponents; LRESULT MdiWindow::OnCreate(LPCREATESTRUCT lpcs){ // フレームウィンドウのビューウィンドウを作成 CreateMDIClient(); // メッセージループにメッセージフィルタとアイドルハンドラを追加 CMessageLoop* pLoop = Program::_Module.GetMessageLoop(); pLoop->AddMessageFilter(this); pLoop->AddIdleHandler(this); return 0; }