- tbarMenu->Append(IDM_TOOLBAR_TOGGLE_ANOTHER_TOOLBAR,
- "Toggle &another toolbar\tCtrl-A",
- "Show/hide another test toolbar",
- TRUE);
-
- tbarMenu->Append(IDM_TOOLBAR_TOGGLETOOLBARSIZE,
- "&Toggle toolbar size\tCtrl-S",
- "Toggle between big/small toolbar",
- TRUE);
- tbarMenu->Append(IDM_TOOLBAR_TOGGLETOOLBARORIENT,
- "Toggle toolbar &orientation\tCtrl-O",
- "Toggle toolbar orientation",
- TRUE);
- tbarMenu->Append(IDM_TOOLBAR_TOGGLETOOLBARROWS,
- "Toggle number of &rows\tCtrl-R",
- "Toggle number of toolbar rows between 1 and 2",
- TRUE);
+ tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLE_TOOLBAR,
+ "Toggle &toolbar\tCtrl-Z",
+ "Show or hide the toolbar");
+
+ tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLE_ANOTHER_TOOLBAR,
+ "Toggle &another toolbar\tCtrl-A",
+ "Show/hide another test toolbar");
+
+ tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLETOOLBARSIZE,
+ "&Toggle toolbar size\tCtrl-S",
+ "Toggle between big/small toolbar");
+
+ tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLETOOLBARORIENT,
+ "Toggle toolbar &orientation\tCtrl-O",
+ "Toggle toolbar orientation");
+
+ tbarMenu->AppendCheckItem(IDM_TOOLBAR_TOGGLETOOLBARROWS,
+ "Toggle number of &rows\tCtrl-R",
+ "Toggle number of toolbar rows between 1 and 2");