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::CheckDlgButton
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void CheckDlgButton( int nIDButton, UINT nCheck );
 
  Parameter   Description
 
  <nIDButton> Specifies the button control to be modified.
 
  <nCheck>    Specifies the action to take. If <nCheck> is nonzero, the
              CheckDlgButton member function places a check mark next to
              the button; if 0, the check mark is removed. For three-state
              buttons, if <nCheck> is 2, the button is dimmed; if <nCheck>
              is 1, it is checked; if <nCheck> is 0, the check mark is
              removed.
 
  Remarks
 
  Places a check mark next to or removes a check mark from a button
  control, or, for a three-state button, may dim the button.
 
  See Also
 
  CWnd::IsDlgButtonChecked, ::CheckDlgButton
 
 
                                     -♦-