DTN_FORMATQUERYDTN_FORMATQUERY*
*



Contents  *



Index  *Topic Contents
*Previous Topic: DTN_FORMAT
*Next Topic: DTN_USERSTRING

DTN_FORMATQUERY


DTN_FORMATQUERY
    lpDTFormatQuery = (LPNMDATETIMEFORMATQUERY) lParam;

Sent by a date and time picker (DTP) control to retrieve the maximum allowable size of the string that will be displayed in a callback field. This notification message is sent in the form of a WM_NOTIFY message.

lpDTFormatQuery
Address of an NMDATETIMEFORMATQUERY structure containing information about the callback field. The structure contains a substring that defines a callback field and receives the maximum allowable size of the string that will be displayed in the callback field.

Handling this message prepares the control to adjust for the maximum size of the string that will be displayed in a particular callback field. This enables the control to properly display output at all times, reducing flicker within the control's display. (For additional information about callback fields, see Callback fields.)

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.