CToolBarCtrl::CheckButton

This method checks or clears a specified button in a toolbar control. When a button has been checked, it appears to have been pressed. To change more than one button state, consider calling SetState instead.

At a Glance

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

Syntax

BOOL CheckButton( int nID, BOOL bCheck = TRUE );