This class provides scoping of the redraw status of a window via the WM_SETREDRAW message.
|This type. |
Public Member Functions
|window_redraw_scope (W &wnd, bool bInvalidateOnUnlock=true)|
|Attempts to lock the given window from redrawing. |
|~window_redraw_scope () throw ()|
|Resets the redraw status, and invalidates the window, if requested in the constructor. |
|bool|| bInvalidateOnUnlock = |
Attempts to lock the given window from redrawing.
Takes a HWND and changes it's current redraw-status, which is set back to the original state in the destructor.
|wnd||The window whose redraw state is to be controlled|
|bInvalidateOnUnlock||Determines whether the window is invalidated upon destruction|
|~window_redraw_scope||(||)|| throw ()
Resets the redraw status, and invalidates the window, if requested in the constructor.