Contents Index Topic Contents | ||
Previous Topic: NMDATETIMECHANGE Next Topic: NMDATETIMEFORMATQUERY |
NMDATETIMEFORMAT
typedef struct tagNMDATETIMEFORMAT{ NMHDR nmhdr; LPCTSTR pszFormat; SYSTEMTIME st; LPCTSTR pszDisplay; TCHAR szDisplay[64]; } NMDATETIMEFORMAT, FAR * LPNMDATETIMEFORMAT;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. This structure is used with the DTN_FORMAT notification message.
- nmhdr
- NMHDR structure that contains information about the notification message.
- pszFormat
- Address of the substring that defines a DTP control callback field The substring comprises one or more "X" characters, followed by a NULL character. (For additional information about callback fields, see Callback fields.)
- st
- SYSTEMTIME structure that contains information about the current system date and time.
- pszDisplay
- Address of a null-terminated string that contains the display text of the control. By default, this is the address of the szDisplay member of this structure.
It is legal to set this member to point to an existing string. If so, the application is not required to place a string into the szDisplay member.
- szDisplay
- 64-character buffer that is to receive the zero-terminated string that the DTP control will display. It is not necessary to fill the entire buffer.
Version 4.70
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.