Help Center
Help Center›AfxNova

AfxGetRebarBandRectfunction

WindowsfunctionAfxCtl.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION AfxGetRebarBandRect (BYVAL hRebar AS HWND, BYVAL nBand AS LONG) AS RECT

Parameters

NameDescription
hRebarBar= Handle of the rebar control. It can belong to another application.
nBand= Zero-based index of the band for which the borders will be retrieved.

Return value

A RECT structure with the band border. 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. Remarks: The purpose of this function is to demonstrate how to retrieve information from a rebar control belonging to another application.

Reference

  • Include file AfxCtl.inc
  • Defined in AfxNova/AfxCtl.inc:1897