The information in this article applies to:
SUMMARYAn application that uses the common dialog library (COMMDLG.DLL) can provide its own dialog resource template to be used instead of the standard template. In this way, the application can include private dialog items specific to its needs without losing the benefits of using the COMMDLG's dialog handling. MORE INFORMATION
Each common dialog data structure contains an lpTemplateName element. (Note
that the Print Dialog structure contains two such elements, each with a
distinct name -- see specifics of PrintDlg for details.) This element
points to a null-terminated string that names the dialog box template
resource to be substituted for the standard dialog template. If the dialog
resource is numbered, the application can use the MAKEINTRESOURCE macro to
convert the number into a pointer to a string. Alternatively, the
application can choose to pass a handle to a preloaded dialog template. The
Flags element of the dialog data structure must be set to indicate which
method is being used.
Keywords : kbCmnDlg kbNTOS310 kbNTOS350 kbNTOS351 kbGrpUser kbWinOS310 |
Last Reviewed: March 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |