CButton::SetState

This method 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 selected by a user.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void SetState( BOOL bHighlight );

See Also

CButton::GetState, CButton::SetCheck, CButton::GetCheck