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  

Window Library (WinSTL)
[WinSTLWindow Library]

This library provides facilities for defining and manipulating Win32 GUI windows. More...

Compounds

struct  is_enabled
 Predicate used to determine whether windows are enabled. More...

struct  is_visible
 Predicate used to determine whether windows are visible. More...

class  setcursor_scope
 Provides scoping of the enable status of a window. More...

class  setfocus_scope
 Provides scoping of the focus window. More...

class  window_enable_scope
 Provides scoping of the enable status of a window. More...

class  window_icon_scope
 Provides scoping of the enable status of a window. More...

class  window_redraw_scope
 Provides scoping of the redraw status of a window. More...

class  window_text_scope
 Provides scoping of the text of a window. More...

class  window_update_scope
 Provides scoping of the update-status of a window. More...

class  window_visible_scope
 Provides scoping of the visible status of a window. More...


Functions

ws_long_t GetStyle (HWND h)
 Gets the style of the window.

ws_long_t GetExStyle (HWND h)
 Gets the extended style of the window.

ws_long_t SetStyle (HWND h, ws_long_t s)
 Sets the style of the window.

ws_long_t SetExStyle (HWND h, ws_long_t x)
 Sets the extended style of the window.

ws_long_t ModifyStyle (HWND h, ws_long_t sRem, ws_long_t sAdd)
 Modifies the style of the window.

ws_long_t ModifyExStyle (HWND h, ws_long_t sRem, ws_long_t sAdd)
 Modifies the extended style of the window.

ws_bool_t IsWindowClass (HWND hwnd, ws_char_a_t const *name)
 Tests whether the given window has the given window class.

ws_bool_t IsWindowClass (HWND hwnd, ws_char_w_t const *name)
 Tests whether the given window has the given window class.

void EnableDlgItem (HWND hwnd, int id, ws_bool_t bEnable)
 Enables/disable a dialog item.

ws_bool_t IsDlgItemEnabled (HWND hwnd, int id)
 Elicits the enable status of a dialog item.

int GetDlgItemTextLength (HWND hwnd, int id)
 Gets the text length of a dialog item's window contents.

HINSTANCE GetWindowInstance (HWND hwnd)
 Gets the HINSTANCE associated with a given window.


Detailed Description

This library provides facilities for defining and manipulating Win32 GUI windows.


Function Documentation

void EnableDlgItem HWND    hwnd,
int    id,
ws_bool_t    bEnable
[inline]
 

Enables/disable a dialog item.

int GetDlgItemTextLength HWND    hwnd,
int    id
[inline]
 

Gets the text length of a dialog item's window contents.

ws_long_t GetExStyle HWND    h [inline]
 

Gets the extended style of the window.

ws_long_t GetStyle HWND    h [inline]
 

Gets the style of the window.

HINSTANCE GetWindowInstance HWND    hwnd [inline]
 

Gets the HINSTANCE associated with a given window.

ws_bool_t IsDlgItemEnabled HWND    hwnd,
int    id
[inline]
 

Elicits the enable status of a dialog item.

ws_bool_t IsWindowClass HWND    hwnd,
ws_char_w_t const *    name
[inline]
 

Tests whether the given window has the given window class.

ws_bool_t IsWindowClass HWND    hwnd,
ws_char_a_t const *    name
[inline]
 

Tests whether the given window has the given window class.

ws_long_t ModifyExStyle HWND    h,
ws_long_t    sRem,
ws_long_t    sAdd
[inline]
 

Modifies the extended style of the window.

ws_long_t ModifyStyle HWND    h,
ws_long_t    sRem,
ws_long_t    sAdd
[inline]
 

Modifies the style of the window.

ws_long_t SetExStyle HWND    h,
ws_long_t    x
[inline]
 

Sets the extended style of the window.

ws_long_t SetStyle HWND    h,
ws_long_t    s
[inline]
 

Sets the style of the window.


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