#include <winstl/window/window_update_scope.hpp>
This class provides scoping of the update-status of a window via the Win32 function LockWindowUpdate().
Public Types | |
typedef window_update_scope | class_type |
This type. | |
Public Member Functions | |
template<typename W> | |
window_update_scope (W &wnd) | |
Attempts to lock the given window from updates. | |
~window_update_scope () throw () | |
Releases the lock, if aquired in the constructor. |
typedef window_update_scope class_type |
This type.
window_update_scope | ( | W & | wnd | ) | [inline, explicit] |
Attempts to lock the given window from updates.
Takes a HWND and changes it's current update-status, which is set back to the original state in the destructor.
References winstl::get_HWND().
~window_update_scope | ( | ) | throw () [inline] |
Releases the lock, if aquired in the constructor.