window_traits Struct Template Reference
[Windows Window Library]

#include <winstl/window/window_traits.hpp>

Inheritance diagram for window_traits:

system_traits

List of all members.


Detailed Description

template<typename C>
struct winstl::window_traits< C >

Traits for accessing the correct registry functions for a given character type.

window_traits is a traits class for determining the correct window manipulation structures and functions for a given character type.

Public Types

Member Types
typedef C char_type
 The character type.
typedef size_t size_type
 The size type.
typedef ws_ptrdiff_t difference_type
 The difference type.

Static Public Member Functions

Window functions
static int get_window_text_length (HWND hwnd)
 Gets the number of characters of text for the given window.
static int get_window_text (HWND hwnd, char_type *buffer, int cchBuff)
 Retrieves the text for the given window.
static bool set_window_text (HWND hwnd, char_type const *buffer)
 Sets the text for the given window.


Member Typedef Documentation

typedef C char_type

The character type.

Reimplemented from system_traits.

typedef size_t size_type

The size type.

Reimplemented from system_traits.

typedef ws_ptrdiff_t difference_type

The difference type.

Reimplemented from system_traits.


Member Function Documentation

static int get_window_text_length ( HWND  hwnd  )  [static]

Gets the number of characters of text for the given window.

static int get_window_text ( HWND  hwnd,
char_type buffer,
int  cchBuff 
) [static]

Retrieves the text for the given window.

static bool set_window_text ( HWND  hwnd,
char_type const *  buffer 
) [static]

Sets the text for the given window.


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

Generated on Thu Jun 10 08:59:41 2010 for STLSoft by  doxygen 1.5.6