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 about a hit test.

Syntax

typedef struct _TCHITTESTINFO { 
  POINT 
pt; 
  UINT 
flags; 
} TCHITTESTINFO; 

Members

pt

Position to hit test, in client coordinates.

flags

Receives the results of a hit test. The tab control sets this member to one of the following values.

Value Description

TCHT_NOWHERE

The position is not over a tab.

TCHT_ONITEM

The position is over a tab but not over its icon or its text. For owner-drawn tab controls, this value is specified if the position is anywhere over a tab.

TCHT_ONITEMICON

The position is over a tab's icon.

TCHT_ONITEMLABEL

The position is over a tab's text.

TCHT_ONITEM is a bitwise-OR operation on TCHT_ONITEMICON and TCHT_ONITEMLABEL.

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

TCM_HITTEST