mCtrl
Data Fields
MC_MTHITTESTINFO Struct Reference

Structure for message MC_MTM_HITTEST. More...

Data Fields

POINT pt
 Coordinates to test.
 
UINT flags
 On output, set to the result of the test.
 

Related Functions

(Note that these are not member functions.)

MC_MTHITTESTINFO::flags bits

#define MC_MTHT_NOWHERE   (1 << 0)
 The hit test coordinates are outside of any tabs.
 
#define MC_MTHT_ONITEMICON   (1 << 1)
 The coordinates hit the tab on its icon.
 
#define MC_MTHT_ONITEMLABEL   (1 << 2)
 The coordinates hit the tab, but its icon or close button.
 
#define MC_MTHT_ONITEMCLOSEBUTTON   (1 << 3)
 The coordinates hit the tab on its close button.
 
#define MC_MTHT_ONITEM   (MC_MTHT_ONITEMICON | MC_MTHT_ONITEMLABEL | MC_MTHT_ONITEMCLOSEBUTTON)
 The coordinates hit the tab anywhere in its rectangle.
 

Detailed Description

Structure for message MC_MTM_HITTEST.