EnhancedWindow Class Template Reference
[Windows Window Library]

#include <atlstl/window/enhanced_window.hpp>

Inheritance diagram for EnhancedWindow:

Window

List of all members.


Detailed Description

template<typename D>
class atlstl::EnhancedWindow< D >

This template is a veneer that provides various useful (and usually missing) member functions of dialogs and parent windows.

Public Types

Types
typedef D dialog_window_type
typedef EnhancedWindow< D > class_type

Public Member Functions

Operations
int GetDlgItemTextLength (int idChild)
 Returns the length of the window text of the child window with the given identifier.
BOOL EnableDlgItem (int idChild, BOOL bEnable)
 Changes the enable state of the child window with the given identifier.
BOOL IsDlgItemEnabled (int idChild)
 Indicates whether the child window with the given identifier is enabled.
BOOL ShowDlgItem (int idChild, BOOL bShow)
 Changes the visible state of the child window with the given identifier.
BOOL ShowAndEnableDlgItem (int idChild, BOOL bShowAndEnable, BOOL bHideIfDisabled)
 Changes the enable and visible states of the child window with the given identifier.
HWND SetDlgItemFocus (int idChild)
 Sets the focus to the child window with the given identifier.

Member Function Documentation

int GetDlgItemTextLength ( int  idChild  )  [inline]

Returns the length of the window text of the child window with the given identifier.

BOOL EnableDlgItem ( int  idChild,
BOOL  bEnable 
) [inline]

Changes the enable state of the child window with the given identifier.

BOOL IsDlgItemEnabled ( int  idChild  )  [inline]

Indicates whether the child window with the given identifier is enabled.

BOOL ShowDlgItem ( int  idChild,
BOOL  bShow 
) [inline]

Changes the visible state of the child window with the given identifier.

BOOL ShowAndEnableDlgItem ( int  idChild,
BOOL  bShowAndEnable,
BOOL  bHideIfDisabled 
) [inline]

Changes the enable and visible states of the child window with the given identifier.

HWND SetDlgItemFocus ( int  idChild  )  [inline]

Sets the focus to the child window with the given identifier.


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

Generated on Thu Jun 10 08:58:24 2010 for STLSoft by  doxygen 1.5.6