Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::IsDlgButtonChecked
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  UINT IsDlgButtonChecked( int nIDButton ) const;
 
  Parameter   Description
 
  <nIDButton> Specifies the integer identifier of the button control.
 
  Remarks
 
  If the CWnd object is a button control, the IsDlgButtonChecked member
  function determines whether it has a check mark next to it. If it is a
  three-state button control, it determines if it is dimmed, checked, or
  neither.
 
  Return Value
 
  Nonzero if the given control is checked, and 0 if it is not checked. For
  three-state buttons, the return value is 2 if the button is dimmed, 1 if
  the button is checked, and 0 if it is unchecked.
 
  See Also
 
  ::IsDlgButtonChecked
 
 
                                     -♦-