窗口重绘
Mark一下!
MSG msg; while(GetMessage (&msg, PenDlg->GetSafeHwnd(), 0, 0 )) { char strText[MAX_PATH];wsprintfA(strText,"Message %x\n",msg.message);OutputDebugStringA(strText);//WriteLog(strText);if (msg.message == WM_PAINT){CRect Rect;PenDlg->InvalidateRect(&Rect);PenDlg->Invalidate();PenDlg->UpdateWindow();}TranslateMessage (&msg); DispatchMessage (&msg); }
總結
- 上一篇: lcx转发3389数据
- 下一篇: 关于多线程的那些事