DateTime_GetMonthCalDateTime_GetMonthCal*
*Contents  *Index  *Topic Contents
*Previous Topic: Date and Time Picker Control Macros
*Next Topic: DateTime_GetMonthCalColor

DateTime_GetMonthCal


HWND DateTime_GetMonthCal(
    HWND hwndDP);

Retrieves the handle to a date and time picker's (DTP) child month calendar control. You can use this macro or send the DTM_GETMONTHCAL message explicitly.

hwndDP
Handle to a DTP control.

DTP controls create a child month calendar control when the user clicks the drop-down arrow. When the month calendar is no longer needed, it is destroyed. So your application must not rely on a static handle to the DTP's child month calendar.

Version 4.70

See also DTN_CLOSEUP, DTN_DROPDOWN


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