NMDATETIMEFORMAT

This structure is used with the DTN_FORMAT notification message.

typedef struct tagNMDATETIMEFORMAT{
NMHDR nmhdr;
LPCTSTR pszFormat;
SYSTEMTIME st;
LPCTSTR pszDisplay;
TCHAR szDisplay[64];} 
NMDATETIMEFORMAT, FAR * LPNMDATETIMEFORMAT;

Members

  • nmhdr
    NMHDR structure that contains information about the notification 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

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

NMHDR, SYSTEMTIME

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.