#include <winstl/window/window_visible_scope.hpp>
This class provides scoping of the visible status of a window via the API function ShowWindow().
Public Types | |
typedef window_visible_scope | class_type |
This type. | |
Public Member Functions | |
window_visible_scope (HWND wnd) | |
Toggles the window visible state. | |
template<typename W> | |
window_visible_scope (W &wnd) | |
Toggles the window visible state. | |
window_visible_scope (HWND wnd, int stateOnCtor, int stateOnDtor) | |
Modifies the window visible state. | |
template<typename W> | |
window_visible_scope (W &wnd, int stateOnCtor, int stateOnDtor) | |
Modifies the window visible state. | |
~window_visible_scope () throw () | |
Resets the visible status. |
typedef window_visible_scope class_type |
This type.
window_visible_scope | ( | HWND | wnd | ) | [inline, explicit] |
Toggles the window visible state.
Takes a HWND and changes it's current visible-status, which is set back to the original state in the destructor.
wnd | The window whose visible state is to be controlled |
window_visible_scope | ( | W & | wnd | ) | [inline, explicit] |
Toggles the window visible state.
Takes a HWND and changes it's current visible-status, which is set back to the original state in the destructor.
wnd | The window whose visible state is to be controlled |
window_visible_scope | ( | HWND | wnd, | |
int | stateOnCtor, | |||
int | stateOnDtor | |||
) | [inline] |
Modifies the window visible state.
wnd | The window whose visible state is to be controlled | |
stateOnCtor | The state to set in the constructor | |
stateOnDtor | The state it is reset to in the destructor |
window_visible_scope | ( | W & | wnd, | |
int | stateOnCtor, | |||
int | stateOnDtor | |||
) | [inline] |
Modifies the window visible state.
wnd | The window whose visible state is to be controlled | |
stateOnCtor | The state to set in the constructor | |
stateOnDtor | The state it is reset to in the destructor |
~window_visible_scope | ( | ) | throw () [inline] |