Article ID: 190684 - Last Review: September 30, 2005 - Revision: 4.0 How to add a splash screen to an MFC dialog-based application in Visual C++This article was previously published under Q190684 SUMMARY The Visual C++ Component Gallery allows one to insert a
variety of standard components into applications. Using the gallery, one can
easily insert a splash screen into MFC SDI and MDI applications. However, the
Visual C++ Component Gallery does not allow insertion of a splash screen into a
dialog-based application. In addition, the documentation for the splash screen
component is contradictory and confusing concerning its use in dialog-based
applications. This article shows the steps to add a splash screen to an MFC
dialog-based application. MORE INFORMATION When trying to insert a splash screen into a dialog-based
application using the component gallery, you may get an error message that says
a mainframe class can not be found. The splash screen component was written to
work only in MFC SDI and MDI applications. However, the component code can be
used in a dialog-based application by following a few steps:
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
172336
(http://support.microsoft.com/kb/172336/
)
An assertion is hit in the Afxwin2.inl file when you try to launch an MFC MDI application through a document
APPLIES TO
| Article Translations
|
Back to the top
