MonthCal_HitTestMonthCal_HitTest*
*Contents  *Index  *Topic Contents
*Previous Topic: MonthCal_GetUnicodeFormat
*Next Topic: MonthCal_SetColor

MonthCal_HitTest


DWORD MonthCal_HitTest(
    HWND hwndMC,
    PMCHITTESTINFO pMCHitTest
);

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.

hwndMC
Handle to a month calendar control.
pMCHitTest
Address of 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.

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.