The information in this article applies to:
SYMPTOMSA dialog-based application generated using AppWizard will not run properly under Win32s. CAUSEWhen AppWizard generates a dialog-based application, it uses a DIALOGEX resource for the main dialog. Win32s, however, does not support DIALOGEX resources. As a result, the dialog box looks incorrect on Win32s. This problem is documented in the Vcread.wri file that ships with Visual C++ version 4.0 and 4.1. RESOLUTION
To get your dialog-based application working in Win32s, you must change
the DIALOGEX resource to a DIALOG resource, and remove the WS_EX_APPWINDOW
style. This can be done as follows:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as soon as it
becomes available. MORE INFORMATIONThe following is from the .rc file for a dialog-based application:
After the changes, these lines should look like this:
REFERENCESVisual C++ version 4.0 Vcread.wri file. Additional query words: CDialog
Keywords : kbprg kbui kbnokeyword kbwizard kbMFC kbVC kbWin32s |
Last Reviewed: July 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |