#include <winstl/window/setfocus_scope.hpp>
This class provides scoping of the focus status of a window via the API function SetFocus().
Public Types | |
Member Types | |
| typedef setfocus_scope | class_type |
Public Member Functions | |
Construction | |
| template<typename W> | |
| setfocus_scope (W &wnd) | |
| Changes the owner of the focus to the given window, and records the current owner of the focus, to which it will be restored in the destructor. | |
| setfocus_scope () | |
| Records the current owner of the focus, to which it will be restored in the destructor. | |
| ~setfocus_scope () throw () | |
| Resets the focus to the original holder. | |
| setfocus_scope | ( | W & | wnd | ) | [inline, explicit] |
Changes the owner of the focus to the given window, and records the current owner of the focus, to which it will be restored in the destructor.
| setfocus_scope | ( | ) | [inline] |
Records the current owner of the focus, to which it will be restored in the destructor.
| ~setfocus_scope | ( | ) | throw () [inline] |
Resets the focus to the original holder.
1.5.6