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.
CButton::SetState
CButton                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void SetState( BOOL bHighlight );
 
  Parameter    Description
 
  <bHighlight> Specifies whether the button is to be highlighted. A value
               of TRUE highlights the button. A value of FALSE removes any
               highlighting.
 
  Remarks
 
  Sets the highlighting state of a button control.
 
  Highlighting affects the exterior of a button control. It has no effect
  on the check state of a radio button or check box.
 
  A button control is automatically highlighted when the user clicks and
  holds the left mouse button. The highlighting is removed when the user
  releases the mouse button.
 
  See Also
 
  CButton::GetState, CButton::SetCheck, CButton::GetCheck,
  BM_SETSTATE
 
 
                                     -♦-