LRESULT EditorView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) { if ( eye ) return GameOSWinProc( m_hWnd,message,wParam,lParam ); return CWnd ::WindowProc(message, wParam, lParam); }
LRESULT CALLBACK WndProc(HWND hWnd, uint32_t message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_DESTROY: PostQuitMessage(0); break; default: return (GameOSWinProc(hWnd, message, wParam, lParam)); } return 0; }