Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

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 RECTstructure 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 Value

The return value is not used.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

RECT