Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
-
Header File
commctrl.h
Unicode
No
Platform Notes
None

HD_HITTESTINFO

The HD_HITTESTINFO structure contains information about a hit test.

typedef struct _HD_HITTESTINFO {

POINT pt;

UINT flags;

int iItem;

} HD_HITTESTINFO;

Members

pt

Points to test, in client coordinates

flags

Variable that receives information about the results of a hit test. This member can be one or more of the following values:

Value
Meaning
HHT_NOWHERE
The point is inside the bounding rectangle of the header control but is not over a header item.
HHT_ONDIVIDER
The point is on the divider between two header items.
HHT_ONDIVOPEN
The point is on the divider of an item that has a width of zero. Dragging the divider reveals the item instead of resizing the item to the left of the divider.
HHT_ONHEADER
The point is inside the bounding rectangle of the header control.
HHT_TOLEFT
The point is to the left of the bounding rectangle of the header control.
HHT_TORIGHT
The point is to the right of the bounding rectangle of the header control.

Two of these values can be combined, such as when the position is above and to the left of the client area.

iItem

Receives the index of item at point, if any.

Remarks

This structure is used with the HDM_HITTEST message.

See Also

HDM_HITTEST

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun