Share via


NMDATETIMEFORMAT (Windows Embedded CE 6.0)

1/6/2010

This structure is used with the DTN_FORMAT message.

Syntax

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

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Date and Time Picker Controls Structures
NMHDR

Other Resources

SYSTEMTIME