HeaderPane
Main
Hide
Share Link
Print

CloseDropDown

Closes the dropdown of a date field control.

C

void WINAPI SftDate_CloseDropDown(HWND hwndCtl);

C++

void CSftDate::CloseDropDown();

Parameters

hwndCtl

The window handle of the date field control (SftDate).

Comments

The CloseDropDown function closes the dropdown, if it is open, and sends the NM_SFTDATE_DROPDOWNCLOSED notification. A date or time the user has chosen in a dropdown with a calendar and a time but not yet confirmed is discarded, as with the Escape key.

This function applies to the date field control only. For a month calendar control, CloseDropDown has no effect.

See Also C/C++ API | Categories | Notifications


Last Updated 11/26/2026 - (email)
© 2026 Softel vdm, Inc.