#include <winstl/window/window_traits.hpp>

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. | |
| typedef C char_type |
| typedef size_t size_type |
| typedef ws_ptrdiff_t difference_type |
| 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.
1.5.6