Freigeben über


CReBarCtrl::GetBandBorders

Implements the behavior of the Win32 message RB_GETBANDBORDERS, as described in the Windows SDK.

void GetBandBorders(
   UINT uBand,
   LPRECT prc 
) const;

Parameters

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

  • prc
    A pointer to a RECT structure that will receive 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 constitute the border. If the rebar control does not have the RBS_BANDBORDERS style, only the left member of this structure receives valid information. For a description of rebar control styles, see Rebar Control Styles in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Concepts

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart