Help Center

CRebar.SetBandWidthmethod

Sets the characteristics of a rebar control.

WindowsmethodCRebar.incdocumented

Syntax

FUNCTION SetBandWidth (BYVAL hRebar AS HWND, BYVAL uBand AS DWORD, BYVAL nWidth AS DWORD) AS BOOLEAN

Parameters

NameDescription
hRebarThe handle of the Rebar control.
uBandIndex of the band.
nWidthNew width in pixels.

Return value

Returns TRUE if the value was set and FALSE otherwise.

Description

Sets the width for a docked band.

Reference

  • Include file CRebar.inc
  • Defined in AfxNova/CRebar.inc:512
  • Documented in Windows/WIndows Controls/CRebar Class.md
  • Topic: CRebar Class