CCeCommandBar::DrawMenuBar

This method repositions and redraws the command bar after a menu in the command bar has been modified.

At a Glance

Header file: Wcebar.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later

Syntax

BOOL DrawMenuBar(int nButton) const;

Parameters

nButton
Zero-based index of the menu bar within the command bar.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

Always call this method after modifying a menu in a command bar.