(My English can be strange o_o)
I work with MFC tabbed MDI, No Document/View
I delete auto-generated View Class, and use CSplitterWnd and my own View Class
"my own View Class" has two child: edit control and my custom control
(edit: I created new tabbed MDI, No Document/View MFC Project and tested that project by spy++. and the following problem occur AGAIN!)
(edit: Use Document/View: AGAIN!)
While I write this program, I found a strange problem:
When I validate window by clicking Aero Peek Thumbnail, my custom control is drawn so many times (WM_PAINT is sent many times)
I figured out CMDIFrameWndEx::OnAfterTaskbarActivate function calls RedrawWindow in that WM_PAINT, and OnAfterTaskbarActivate is callen so many times (31 times, yah)
Could you tell me what makes this problem and how to solve?