다음을 통해 공유


RBHITTESTINFO (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Rebar Controls Structures
RB_HITTEST
POINT