setfocus_scope Class Reference
[Windows Window Library]

#include <winstl/window/setfocus_scope.hpp>

List of all members.


Detailed Description

Provides scoping of the focus window.

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.


Constructor & Destructor Documentation

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.


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