[BACK]Return to ox_plot.cpp CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / engine2000

Diff for /OpenXM_contrib2/windows/engine2000/ox_plot.cpp between version 1.4 and 1.5

version 1.4, 2002/10/02 09:33:32 version 1.5, 2002/10/03 03:05:44
Line 16  extern "C" {
Line 16  extern "C" {
 #include "ca.h"  #include "ca.h"
 #include "ifplot.h"  #include "ifplot.h"
   
           extern HANDLE hCanvasCreated;
           extern HANDLE hMainThreadReady;
         extern HANDLE hStreamNotify;          extern HANDLE hStreamNotify;
         extern HANDLE hStreamNotify_Ack;          extern HANDLE hStreamNotify_Ack;
         extern DWORD MainThread;          extern DWORD MainThread;
         extern int canvas_created;  
         void Init_IO();          void Init_IO();
 }  }
 /////////////////////////////////////////////////////////////////////////////  /////////////////////////////////////////////////////////////////////////////
Line 86  BOOL COx_plotApp::InitInstance()
Line 87  BOOL COx_plotApp::InitInstance()
                 WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, NULL,                  WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, NULL,
                 NULL);                  NULL);
         MainThread = m_nThreadID;          MainThread = m_nThreadID;
           SetEvent(hMainThreadReady);
   
         // メイン ウィンドウが初期化されたので、表示と更新を行います。          // メイン ウィンドウが初期化されたので、表示と更新を行います。
 //      pFrame->ShowWindow(SW_SHOW);  //      pFrame->ShowWindow(SW_SHOW);
Line 184  BOOL COx_plotApp::PreTranslateMessage(MSG* pMsg) 
Line 186  BOOL COx_plotApp::PreTranslateMessage(MSG* pMsg) 
                         pFrame->UpdateWindow();                          pFrame->UpdateWindow();
                         pFrame->BringWindowToTop();                          pFrame->BringWindowToTop();
                         can->hwnd = pFrame->m_wndView.m_hWnd;                          can->hwnd = pFrame->m_wndView.m_hWnd;
                         canvas_created = 1;  
                 } else                  } else
                         pFrame = (CMainFrame *)can->window;                          pFrame = (CMainFrame *)can->window;
                 pFrame->RedrawWindow();                  pFrame->RedrawWindow();
         } else if ( pMsg->message == WM_APP+1 )                  SetEvent(hCanvasCreated);
                 ;  // dummy message          }
         return CWinApp::PreTranslateMessage(pMsg);          return CWinApp::PreTranslateMessage(pMsg);
 }  }
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>