Partager via


DTN_USERSTRING (Compact 2013)

3/28/2014

This 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.

Syntax

DTN_USERSTRING lpDTstring = (LPNMDATETIMESTRING) lParam;

Parameters

  • lpDTstring
    Long pointer to an NMDATETIMESTRING structure that contains information about the instance of the 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.

Requirements

Header

commctrl.h

See Also

Reference

Date and Time Picker Controls Notifications
NMDATETIMESTRING