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 structure contains information necessary to restore a band to its current state.

Syntax

typedef struct tagCOMMANDBANDSRESTOREINFO {
  UINT 
cbSize;
  UINT 
wID;
  UINT 
fStyle;
  UINT 
cxRestored;
  BOOL 
fMaximized;
} COMMANDBANDSRESTOREINFO, *LPCOMMANDBANDSRESTOREINFO;

Members

cbSize

Size of the structure, in bytes. You must supply the value for this member.

wID

Identifier of the band. This member corresponds to the wIDmember of the REBARBANDINFOstructure, and is filled in by the CommandBands_GetRestoreInformationfunction.

fStyle

Flags that specify the band style. This member corresponds to the fStylemember of the REBARBANDINFOstructure, and is filled in by the CommandBands_GetRestoreInformationfunction. It can be a combination of the following values.

Value Description

RBBS_BREAK

The band is on a new line.

RBBS_CHILDEDGE

The band has an edge at the top and bottom of the child window.

RBBS_FIXEDBMP

The background bitmap does not move when the band is resized.

RBBS_FIXEDSIZE

The band cannot be sized. With this style, the sizing grip is not displayed on the band.

RBBS_GRIPPERALWAYS

The band will always have sizing grip, even if it is the only band in the rebar.

RBBS_HIDDEN

The band will not be visible.

RBBS_NOVERT

The band is not displayed when the rebar control uses the CCS_VERT style.

RBBS_VARIABLEHEIGHT

The band can be resized by the rebar control. The cyIntegraland cyMaxChildmembers affect how the rebar will resize the band.

cxRestored

Restored width of the band, in pixels. The restored width is the width of the band after the user has dragged it. If the user has never dragged it, it is the initial size of the band. This member corresponds to the cxmember of the REBARBANDINFOstructure, and is filled in by the CommandBands_GetRestoreInformationfunction.

fMaximized

Indicates whether the band is maximized. Only one band in a row can be maximized at a time. This member corresponds to the fStylemember of the REBARBANDINFOstructure, and is filled in by the CommandBands_GetRestoreInformationfunction.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also