foobar2000 SDK  2015-01-14
Public Member Functions
CCheckBox

#include <WTL-PP.h>

+ Inheritance diagram for CCheckBox:

Public Member Functions

 CCheckBox (HWND hWnd=NULL)
 
bool IsChecked () const
 
CCheckBoxoperator= (HWND wnd)
 
void ToggleCheck (bool state)
 

Detailed Description

Definition at line 113 of file WTL-PP.h.

Constructor & Destructor Documentation

CCheckBox::CCheckBox ( HWND  hWnd = NULL)
inline

Definition at line 118 of file WTL-PP.h.

118 : CButton(hWnd) { }

Member Function Documentation

bool CCheckBox::IsChecked ( ) const
inline

Definition at line 116 of file WTL-PP.h.

116 {return GetCheck() == BST_CHECKED;}
CCheckBox& CCheckBox::operator= ( HWND  wnd)
inline

Definition at line 119 of file WTL-PP.h.

119 {m_hWnd = wnd; return *this; }
void CCheckBox::ToggleCheck ( bool  state)
inline

Definition at line 115 of file WTL-PP.h.

115 {SetCheck(state ? BST_CHECKED : BST_UNCHECKED);}

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