window_update_scope Class Reference
[Windows Window Library]

#include <winstl/window/window_update_scope.hpp>

List of all members.


Detailed Description

Provides scoping of the update-status of a window.

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.


Member Typedef Documentation

This type.


Constructor & Destructor Documentation

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.


The documentation for this class was generated from the following file:

Generated on Thu Jun 10 08:59:41 2010 for STLSoft by  doxygen 1.5.6