windows_programming_notes.nbk: Home | Index | Next Page: IsWindow | Previous Page: IsDialogMessage
The IsDlgButtonChecked function determines whether a button control is checked or whether a three-state button control is checked, unchecked, or indeterminate.
UINT IsDlgButtonChecked( HWND hDlg, int nIDButton );
The return value from a button created with the BS_AUTOCHECKBOX, BS_AUTORADIOBUTTON, BS_AUTO3STATE, BS_CHECKBOX, BS_RADIOBUTTON, or BS_3STATE styles can be one of the values in the following table. If the button has any other style, the return value is zero.
The IsDlgButtonChecked function sends a BM_GETCHECK message to the specified button control.
windows_programming_notes.nbk: Home | Index | Next Page: IsWindow | Previous Page: IsDialogMessage
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time