sprint 1-alpha
Public Member Functions | Static Public Member Functions
sprint::gtl::Button Class Reference

a generic button: TODO specialize for CheckBox, Radio More...

#include <Button.h>

Inherits sprint::gtl::CWindow.

List of all members.

Public Member Functions

 Button (HWND hWnd=NULL)
 Button (CWindow hWnd)
UINT GetState () const
void SetState (BOOL bHighlight)
bool IsChecked () const
void Check (bool bCheck)
 Set or remove check on button.
UINT GetButtonStyle () const
void SetButtonStyle (UINT nStyle, BOOL bRedraw=TRUE)
HICON GetIcon () const
HICON SetIcon (HICON hIcon)
void Click ()

Static Public Member Functions

static LPCTSTR GetWndClassName ()

Detailed Description

a generic button: TODO specialize for CheckBox, Radio


Constructor & Destructor Documentation

sprint::gtl::Button::Button ( HWND  hWnd = NULL)
 sprint::Button cb(GetDlgItem(hwnd, IDC_ACTION));

Member Function Documentation

bool sprint::gtl::Button::IsChecked ( ) const

check if button is checked

 m_lock_color = lock.IsChecked();

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines