DTN_USERSTRING notification code

Sent by a date and time picker (DTP) control when a user finishes editing a string in the control. This notification code is only sent by DTP controls that are set to the DTS_APPCANPARSE style. This notification code is sent in the form of a WM_NOTIFY message.


DTN_USERSTRING

    lpDTstring = (LPNMDATETIMESTRING) lParam;

Parameters

lParam

A pointer to an NMDATETIMESTRING structure that contains information about the instance of the notification code.

Return value

The owner of the control must return zero.

Remarks

Handling this notification code 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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

DTN_USERSTRINGW (Unicode) and DTN_USERSTRINGA (ANSI)

 

 

Show: