Help Center

CRebar.GetRectmethod

Retrieves the bounding rectangle for a given band in a rebar control.

WindowsmethodCRebar.incdocumented

Syntax

FUNCTION GetRect (BYVAL hRebar AS HWND, BYVAL uBand AS DWORD, BYVAL prc AS RECT PTR) AS BOOLEAN
FUNCTION GetRect (BYVAL hRebar AS HWND, BYVAL uBand AS DWORD, BYREF rc AS RECT) AS BOOLEAN
FUNCTION GetRect (BYVAL hRebar AS HWND, BYVAL uBand AS DWORD) AS RECT

Parameters

NameDescription
hRebarThe handle of the Rebar control.
uBandZero-based index of a band in the rebar control.
prcPointer to a RECT structure that will receive the bounds of the rebar band.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Retrieves the bounding rectangle for a given band in a rebar control.

Reference

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