DOCERR: Incorrect DialogBoxIndirect() Code in Win32 SDK Docs (140725)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- the operating system: Microsoft Windows NT 3.51
This article was previously published under Q140725 SUMMARY
The Win32 SDK documentation demonstrates how to create a template in memory
for a modal dialog box by using DialogBoxIndirect() in a section called
"Creating a Template in Memory." The code included in this section of the
documentation has problems in Windows 95 and Windows NT version 3.51, which
may cause the dialog box to come up with only one control or may cause
DialogBoxIndirect() to return -1, indicating failure.
The same problems occur if the call to DialogBoxIndirect() is replaced with
CreateDialogIndirect().
NOTE: This docerr is fixed in Windows NT version 4.0 beta documents.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbDlg kbdocerr kbdocfix KB140725 |
---|
|