setcursor_scope Class Reference
[Windows Window Library]

#include <winstl/window/setcursor_scope.hpp>

List of all members.


Detailed Description

Provides scoping of a window's cursor.

This class provides scoping of the cursor of a window via the API function SetCursor().

Public Types

typedef setcursor_scope class_type
 This type.

Public Member Functions

 setcursor_scope (HCURSOR hcur)
 Toggles the current cursor.
template<typename S>
 setcursor_scope (HINSTANCE hinst, S const &name)
 Toggles the current cursor.
 setcursor_scope (HINSTANCE hinst, char const *name)
 Toggles the current cursor.
 setcursor_scope (HINSTANCE hinst, wchar_t const *name)
 Toggles the current cursor.
 setcursor_scope (HINSTANCE hinst, int id)
 Toggles the current cursor.
 ~setcursor_scope () throw ()
 Resets the original cursor.


Member Typedef Documentation

This type.


Constructor & Destructor Documentation

setcursor_scope ( HCURSOR  hcur  )  [inline, explicit]

Toggles the current cursor.

Sets the given cursor.

setcursor_scope ( HINSTANCE  hinst,
S const &  name 
) [inline]

Toggles the current cursor.

Sets the given cursor resource from the given instance.

setcursor_scope ( HINSTANCE  hinst,
char const *  name 
) [inline]

Toggles the current cursor.

Sets the given cursor resource from the given instance.

setcursor_scope ( HINSTANCE  hinst,
wchar_t const *  name 
) [inline]

Toggles the current cursor.

Sets the given cursor resource from the given instance.

setcursor_scope ( HINSTANCE  hinst,
int  id 
) [inline]

Toggles the current cursor.

Sets the given cursor resource from the given instance.

~setcursor_scope (  )  throw () [inline]

Resets the original cursor.


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