Partager via


RBHITTESTINFO (Compact 2013)

3/28/2014

This structure contains information specific to a hit test operation. This structure is used with the RB_HITTEST message.

Syntax

typedef struct _RB_HITTESTINFO {
  POINT pt;
  UINT flags;
  int iBand;
} RBHITTESTINFO, FAR* LPRBHITTESTINFO;

Members

  • pt
    POINT structure that describes the point to be hit tested, in client coordinates.
  • flags
    Receives a flag value indicating the rebar band's component located at the point described by pt. It is one of the following values.

    Value

    Description

    RBHT_CAPTION

    The point was in the rebar band's caption.

    RBHT_CLIENT

    The point was in the rebar band's client area.

    RBHT_GRABBER

    The point was in the rebar band's grabber.

    RBHT_NOWHERE

    The point was not in a rebar band.

  • iBand
    Receives the rebar band's index at the point described by pt. This value is the zero-based index of the band or -1 if no band was at the hit-tested point.

Requirements

Header

commctrl.h

See Also

Reference

Rebar Controls Structures
RB_HITTEST
POINT