NMDATETIMEFORMAT (Windows CE 5.0)

Send Feedback

This structure is used with the DTN_FORMAT message.

typedefstructtagNMDATETIMEFORMAT{NMHDRnmhdr;LPCTSTRpszFormat;SYSTEMTIMEst;LPCTSTRpszDisplay;TCHARszDisplay[64];}NMDATETIMEFORMAT,FAR* LPNMDATETIMEFORMAT;

Members

  • nmhdr
    NMHDR structure that contains information about the message.

  • pszFormat
    Pointer to the null-terminated substring that defines a DTP control callback field. The substring comprises one or more X characters, followed by a NULL character.

  • st
    SYSTEMTIME structure that contains information about the current system date and time.

  • pszDisplay
    Pointer to a null-terminated string. By default, this pointer is set to point at szDisplay by the DTP control.

    It is legal to set this member to point at an existing string. If so, the application is not required to place a string into the szDisplay member.

  • szDisplay
    Specifies the 64-character buffer that is to receive the null-terminated string that the DTP control will display. It is not necessary that the application fill the entire buffer.

Remarks

The NMDATETIMEFORMAT structure contains information about a portion of the format string that defines a callback field within a date and time picker (DTP) control. It carries the substring that defines the callback field and contains a buffer to receive the string that will be displayed in the callback field.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

NMHDR | SYSTEMTIME

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.