<< Click to Display Table of Contents >> SetBandVarHeightSize SEToolBar |
![]() ![]() ![]() |
Purpose
If the band can be resized by the rebar control you can set resizing properties with this method.
You have to set the RBBS_VARIABLEHEIGHT style, otherwise the band can't be resized and this method has no effect.
Prototype
METHOD SetBandVarHeightSize(uBand, nHeight, nMaxHeight, nIntegral) CLASS SEToolBar
Argument
<uBand> |
the symbolic name of the band or the numeric band index - the index base is 1. |
<nHeight> |
initial height of the band, in pixels. |
<nMaxHeight> |
maximum height of the band, in pixels. |
<nIntegral> |
step value by which the band can grow or shrink, in pixels. If the band is resized, it will be resized in steps specified by this value. |
Return
TRUE, if successfully, otherwise FALSE.