Closes the dropdown of a date field control.
C
void WINAPI SftDate_CloseDropDown(HWND hwndCtl);
C++
void CSftDate::CloseDropDown();
hwndCtl
The window handle of the date field control (SftDate).
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