<< Click to Display Table of Contents >> SetBandStyle SEToolBar |
![]() ![]() ![]() |
Purpose
Sets the style of the specified band.
Prototype
METHOD SetBandStyle(uBand, nStyle, lEnable) CLASS SEToolBar
Arguments
<uBand> |
The symbolic name of the band or the numeric band index - the index base is 1. |
<nStyle> |
A numeric value, that specifies the band style. |
[<lEnable>] |
A logic value. TRUE enables the style and FALSE disables the style. The default value is TRUE. |
Return
The old band style of the specified band, if the band exists, otherwise 0.
Description
<nStyle> or the return value can be a combination of the following:
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 can't be sized. With this style, the sizing grip is not displayed on the band.
RBBS_GRIPPERALWAYS
Version 4.71. The band will always have a sizing grip, even if it is the only band in the rebar.
RBBS_HIDDEN
The band will not be visible.
RBBS_NOGRIPPER
Version 4.71. The band will never have a sizing grip, even if there is more than one band in the rebar.
RBBS_USECHEVRON
Version 5.80. Show a chevron button if the band is smaller than nIdealWidth, which you can set with SetBandSize().
RBBS_VARIABLEHEIGHT
Version 4.71. The band can be resized by the rebar control; nIntegral and nMaxChild affect how the rebar will resize the band.
You can set nIntegral and nMaxChild with SetBandVarHeightSize().
The version number specify the minimum comctl32.dll version which is needed for this style.