关于 CWnd::OnPaint 和 CView::OnDraw 函数
这两个函数到底是何关系?
另外,MSDN中关于OnPaint成员的描述如下:
A window may receive internal paint messages as a result of calling the RedrawWindow member function with the RDW_INTERNALPAINT flag set. In this case, the window may not have an update region. An application should call the GetUpdateRect member function to determine whether the window has an update region. If GetUpdateRect returns 0, the application should not call the BeginPaint and EndPaint member functions.
请问,什么是“internal paint message”,在什么情况下会有此种消息发送?
另外,在什么情况下需要调用RedrawWindow成员函数?请高手指点?