HeaderPane
Main
Hide
Share Link
Print

SFTDATE_NMCANCEL Structure

The SFTDATE_NMCANCEL structure is sent with the NM_SFTDATE_DROPDOWNOPENING notification before the dropdown of a date field control opens.

typedef struct tagSftDateNMCancel {
    NMHDR hdr;
    BOOL fCancel; // out
} SFTDATE_NMCANCEL, * LPSFTDATE_NMCANCEL;

Members

hdr

The standard WM_NOTIFY notification header. hwndFrom contains the window handle of the date field control, idFrom its control ID and code is set to NM_SFTDATE_DROPDOWNOPENING.

fCancel

Out: TRUE to keep the dropdown closed. The control sets it to FALSE.

Comments

The date field control sends the WM_NOTIFY message with the SFTDATE_NMCANCEL structure when the dropdown is about to open, by the user or OpenDropDown. The application can prepare the dropdown calendar, for example by adding special dates, or cancel it. NM_SFTDATE_DROPDOWNOPENED follows once the dropdown is open.

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


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