我认为执行OnPaint 函数
onpaint会调用ondraw
///////
CWnd::UpdateWindow
void UpdateWindow( );ResUpdates the client area by sending aWM_PAINT message if the update region is not empty. The UpdateWindow member function sends a WM_PAINT message directly, bypassing the application queue. If the update region is empty, WM_PAINT is not sent.
onpaint会调用ondraw
///////
CWnd::UpdateWindow
void UpdateWindow( );ResUpdates the client area by sending aWM_PAINT message if the update region is not empty. The UpdateWindow member function sends a WM_PAINT message directly, bypassing the application queue. If the update region is empty, WM_PAINT is not sent.
解决方案 »
- 无法从“const char [27]”转换为“const CString
- VC项目的lib文件路径怎么设置?
- 刚学VC请教一下有关INI文件操作
- 继续学习MFC还是转学.NET类库?
- 哪位帮我解释下这个错误 WSAGetLastError() returned 10055, No buffer space available
- 今天我生日,我要每个坛子都喊过去!!!不要删我呀。(散分)
- 高分求: 解决双缓冲绘制客户区效率低下的办法。
- socket套接字的锁定和重叠是什么意思?有什么区别?谢谢
- 谁对mschart使用比较深入
- 现在在线的朋友来加点分吧
- 巨难问题,高手迎接挑战吧
- 我如何得到CListCtrl的CheckBoxes所有被checked的
void CView::OnPaint()
{
// standard paint routine
CPaintDC dc(this);
OnPrepareDC(&dc);
OnDraw(&dc);
}
的帮助!
妹子,有OnDraw消息吗?
是WM_PAINT,执行OnPaint,OnPaint调用OnDraw