Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function shows or hides the command bands control.

Syntax

BOOL WINAPI CommandBands_Show(
  HWND 
hwndCmdBands, 
  BOOL 
fShow
);

Parameters

hwndCmdBands

Handle to command bands control's window. This handle is returned when the command bands control is created by the CommandBands_Createfunction.

fShow

Boolean that specifies whether to show or hide the command bands control. Set this parameter to TRUE to show the command bar, or FALSE to hide it.

Return Value

The previous state of the command bands control indicates success.

Requirements

Header commctrl.h
Library commctrl.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also