RB_GETBANDBORDERS

This message retrieves the borders of a band. The result of this message can be used to calculate the usable area in a band.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

RB_GETBANDBORDERS wParam = (WPARAM)(UINT) uBand;
lParam = (LPARAM)(LPRECT) lprc;

Parameters

uBand

Zero-based index of the band for which the borders will be retrieved.

lprc

Long pointer to a RECT structure that receives the band borders. If the rebar control has the RBS_BANDBORDERS style, each member of this structure will receive the number of pixels on the corresponding side of the band that are used by the band. If the rebar control does not have the RBS_BANDBORDERS style, only the left member of this structure receives valid information.

Return Values

The return value is not used.