MonthCal_HitTest macro (commctrl.h)
Determines which portion of a month calendar control is at a given point on the screen. You can use this macro or send the MCM_HITTEST message explicitly.
Syntax
void MonthCal_HitTest(
hmc,
pinfo
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
pinfo
Type: PMCHITTESTINFO
Pointer to an MCHITTESTINFO structure. Upon calling the macro, the cbSize member must be set to the size of the MCHITTESTINFO structure, and pt must be set to the point you want to hit test.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |