This notification message is sent by a date and time picker (DTP) control when a user completes editing a string in the control. It is only sent by DTP controls that are set to the DTS_APPCANPARSE style.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Syntax
DTN_USERSTRING lpDTstring = (LPNMDATETIMESTRING) lParam;
Parameters
lpDTstring
Long pointer to an NMDATETIMESTRING structure that contains information about the instance of the notification message.
Remarks
This message is sent in the form of a WM_NOTIFY message.
The owner of the control must return zero.
Handling this message allows the owner to provide custom responses to strings entered into the control by the user. The owner must be prepared to parse the input string and take action if necessary.