CToolBarCtrl::PressButton

This method presses or releases the specified button in a toolbar control.

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 PressButton( int nID, BOOL bPress = TRUE );