COMMANDBANDSRESTOREINFO
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 wID member of the REBARBANDINFO structure, and is filled in by the CommandBands_GetRestoreInformation function.
fStyle
Flags that specify the band style. This member corresponds to the fStyle member of the REBARBANDINFO structure, and is filled in by the CommandBands_GetRestoreInformation function. 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 cyIntegral and cyMaxChild members 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 cx member of the REBARBANDINFO structure, and is filled in by the CommandBands_GetRestoreInformation function.
- fMaximized
Indicates whether the band is maximized. Only one band in a row can be maximized at a time. This member corresponds to the fStyle member of the REBARBANDINFO structure, and is filled in by the CommandBands_GetRestoreInformation function.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.10 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |