=================================================================== RCS file: /home/cvs/OpenXM_contrib2/windows/engine2000/ox_plot.cpp,v retrieving revision 1.1.1.1 retrieving revision 1.4 diff -u -p -r1.1.1.1 -r1.4 --- OpenXM_contrib2/windows/engine2000/ox_plot.cpp 2000/11/22 06:20:13 1.1.1.1 +++ OpenXM_contrib2/windows/engine2000/ox_plot.cpp 2002/10/02 09:33:32 1.4 @@ -19,6 +19,7 @@ extern "C" { extern HANDLE hStreamNotify; extern HANDLE hStreamNotify_Ack; extern DWORD MainThread; + extern int canvas_created; void Init_IO(); } ///////////////////////////////////////////////////////////////////////////// @@ -183,17 +184,18 @@ BOOL COx_plotApp::PreTranslateMessage(MSG* pMsg) pFrame->UpdateWindow(); pFrame->BringWindowToTop(); can->hwnd = pFrame->m_wndView.m_hWnd; + canvas_created = 1; } else pFrame = (CMainFrame *)can->window; pFrame->RedrawWindow(); - } + } else if ( pMsg->message == WM_APP+1 ) + ; // dummy message return CWinApp::PreTranslateMessage(pMsg); } void COx_plotApp::OnAppExit() { // TODO: この位置にコマンド ハンドラ用のコードを追加してください - } BOOL COx_plotApp::OnIdle(LONG lCount)