CControlBar::OnUpdateCmdUI

This method is called by the framework to update the status of the toolbar or status bar.

To update an individual button or pane, use the ON_UPDATE_COMMAND_UI macro in your message map to set an update handler appropriately.

At a Glance

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

Syntax

virtual void OnUpdateCmdUI( CFrameWnd* pTarget,
BOOL
bDisableIfNoHndler ) = 0;