#include <winstl/window/setcursor_scope.hpp>
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. |
typedef setcursor_scope class_type |
This type.
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.