winstl/window/functions.h File Reference


Detailed Description

[C, C++] Miscellaneous functions (Windows Window Library).

#include <winstl/winstl.h>
#include <winstl/conversion/windows_type_conversions.hpp>

Go to the source code of this file.

Namespaces

namespace  winstl

Functions

STLSOFT_INLINE ws_sptrint_t winstl__GetStyle (HWND h)
STLSOFT_INLINE ws_sptrint_t winstl__GetExStyle (HWND h)
 Gets the extended style of the window.
STLSOFT_INLINE ws_sptrint_t winstl__SetStyle (HWND h, ws_sptrint_t s)
 Sets the style of the window.
STLSOFT_INLINE ws_sptrint_t winstl__SetExStyle (HWND h, ws_sptrint_t x)
 Sets the extended style of the window.
STLSOFT_INLINE ws_sptrint_t winstl__ModifyStyle (HWND h, ws_sptrint_t sRem, ws_sptrint_t sAdd)
 Modifies the style of the window.
STLSOFT_INLINE ws_sptrint_t winstl__ModifyExStyle (HWND h, ws_sptrint_t sRem, ws_sptrint_t sAdd)
 Modifies the extended style of the window.
STLSOFT_INLINE int winstl__IsWindowClassA (HWND hwnd, char const *name)
 Tests whether the given window has the given window class.
STLSOFT_INLINE int winstl__IsWindowClassW (HWND hwnd, wchar_t const *name)
 Tests whether the given window has the given window class.
STLSOFT_INLINE void winstl__EnableDlgItem (HWND hwnd, int id, BOOL bEnable)
 Enables/disable a dialog item.
STLSOFT_INLINE int winstl__IsDlgItemEnabled (HWND hwnd, int id)
 Elicits the enable status of a dialog item.
STLSOFT_INLINE int winstl__GetDlgItemTextLength (HWND hwnd, int id)
 Gets the text length of a dialog item's window contents.
STLSOFT_INLINE HINSTANCE winstl__GetWindowInstance (HWND hwnd)
 Gets the HINSTANCE associated with a given window.
ws_sptrint_t GetStyle (HWND h)
 Gets the style of the window.
ws_sptrint_t GetExStyle (HWND h)
 Gets the extended style of the window.
ws_sptrint_t SetStyle (HWND h, ws_sptrint_t s)
 Sets the style of the window.
ws_sptrint_t SetExStyle (HWND h, ws_sptrint_t x)
 Sets the extended style of the window.
ws_sptrint_t ModifyStyle (HWND h, ws_sptrint_t sRem, ws_sptrint_t sAdd)
 Modifies the style of the window.
ws_sptrint_t ModifyExStyle (HWND h, ws_sptrint_t sRem, ws_sptrint_t sAdd)
 Modifies the extended style of the window.
bool IsWindowClass (HWND hwnd, char const *name)
 Tests whether the given window has the given window class.
bool IsWindowClass (HWND hwnd, wchar_t const *name)
 Tests whether the given window has the given window class.
void EnableDlgItem (HWND hwnd, int id, bool bEnable)
 Enables/disable a dialog item.
bool 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.
HICON set_window_icon (HWND hwnd, int iconType, HICON hicon)
HICON set_window_icon (HWND hwnd, int iconType, HINSTANCE hinst, LPCTSTR iconName)
HICON set_window_icon (HWND hwnd, int iconType, HINSTANCE hinst, int iconId)
HWND FindFirstChildById (HWND hwndParent, int id)
 Finds the first descendant window with the given id.


Generated on Thu Jun 10 08:57:56 2010 for STLSoft by  doxygen 1.5.6