CWnd::Invalidate
void Invalidate( BOOL bErase = TRUE );
Specifies whether the background within the update region is to be erased.
The client area is marked for painting when the next WM_PAINT message occurs. The region can also be validated before a WM_PAINTmessage occurs by the ValidateRect or ValidateRgn member function.
The bErase parameter specifies whether the background within the update area is to be erased when the update region is processed. If bEraseis TRUE, the background is erased when the BeginPaint member function is called; if bErase is FALSE, the background remains unchanged. If bErase is TRUE for any part of the update region, the background in the entire region, not just in the given part, is erased.
Invalidate(FALSE) -> WM_PAINT
Invalidate(TRUE) -> WM_ERASEBKGND -> WM_PAINT
'Programming > MFC' 카테고리의 다른 글
연결 프로그램 변경 [레지스트리 편집] (0) | 2017.09.27 |
---|---|
[MFC] Dialog 닫기 (OnOK/EndDialog) (0) | 2017.02.08 |
MFC Dialog Position Save & Load (0) | 2016.11.10 |
MFC - 다이얼로그 생성시 발생되는 메세지들... (0) | 2016.11.07 |
MFC x64 ADO msado15.dll (0) | 2016.10.28 |