Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

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

Members

pt

POINTstructure 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

RB_HITTEST
POINT