STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

setfocus_scope Class Reference
[Window Library (WinSTL)]

Provides scoping of the focus window. More...

#include <winstl_setfocus_scope.h>

List of all members.

Public Methods

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 ()
 Resets the focus to the original holder.


Detailed Description

Provides scoping of the focus window.

This class provides scoping of the enable status of a window via the API function EnableWindow()..


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   [inline]
 

Resets the focus to the original holder.


The documentation for this class was generated from the following file:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004