CCeCommandBar::ResetCommandBar

This method removes all of the menus, combo boxes, buttons, and adornments from the command bar, while preserving the command bar itself.

At a Glance

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

Syntax

void ResetCommandBar();

Remarks

Use this method to remove any combo boxes and menus that were inserted with the InsertComboBox and InsertMenuBar methods. This method is useful also for switching between different configurations of a command bar.