Share via


RB_HITTEST (Compact 2013)

3/28/2014

This message determines which portion of a rebar band is at a specified point on the screen, if a rebar band exists at that point.

Syntax

RB_HITTEST wParam = 0;
    lParam = (LPARAM)(LPRBHITTESTINFO) lprbht;

Parameters

  • wParam
    Not used.
  • lprbht
    Long pointer to an RBHITTESTINFO structure. Before sending the message, the pt member of this structure must be initialized to the point that is hit tested, in client coordinates.

Return Value

Returns the zero-based index of the band at the specified point, or -1 if no rebar band was at the point.

Requirements

Header

commctrl.h

See Also

Reference

Rebar Controls Messages
RBHITTESTINFO