Customize the multimedia color enclosure page in your own application, you can enable the application to enrich the program interface when displaying the name and copyright characteristics, avoiding the user's long-term empty waiting process when the application starts a lot of data initialization, giving While adding vivid features and professional characteristics, they also play a role in promotion and advertising. Although this feature has a particular class in VC5, it is also possible to make your own application unique by customizing your application multimedia booting page. The implementation steps in VC5: 1. Production blocking page 位 图: Making application multimedia boot page true color graph, record the height and width of bitmaps, establish files such as multimedia sounds required; 2. Establish an application: Use the File-> New menu to establish a multi-document application framework named Start, and use the class wizard AppWizard to increase the new class csplashWnd, which is Generic CWnd, and rename the file files for splash.h and splash.cpp, and increase WM_CREATE and WM_PAINT message mapping functions; 3. Define variables and functions: Define the following member variables and functions in Splash.h: public: bool create (cwnd * pparentWnd = null); handle hbitssrc; lpstr pbitssrc; uint IW, IH; 4. Establish a boot window window: Add the Create function in splash.cpp, establish the pop-up window of the display bitmap: #include "windowsx.h" // Add the extended window to establish ... Struct {// bitmap header structure BITMAPINFOHEADER header;} Info; BOOL CSplashWnd :: Create (CWnd * pParentWnd) {// build pop-up window displays bitmap return CreateEx (0, AfxRegisterWndClass (0, AfxGetApp () -> LoadStandardCursor (IDC_ARROW)), NULL , WS_POPUP | WS_VISIBLE, 0,0,672,480, pParentWnd-> GetSafeHwnd (), NULL);} int CSplashWnd :: OnCreate (lPCREATESTRUCT lpCreateStruct) {...... // TODO: Add your specialized creation code hereCenterWindow (); / / Make the pop-up window return 0;} 5. Improve the destructor: Perfect the destructive function in splash.cpp, prepare for display bitmap: csplashWnd :: csplashWnd () // Perfect destructor {IW = 672; IH = 480; // Bit map width and height info.Header.bisize = sizeof (bitmapinfohead); info.Header.biHeight = IH; in Fo.Header.Bipitcount = 1L; info.Header.biBitcount = 24L; hbitsSRC = :: Globalalloc (ghnd, (ioh * 3)); // Assign Memory PBITSRC = (LPSTR) :: Globalock (HBitsRC ); // Plock memory} csplashWnd :: ~ csplashWnd () {:: globalunlock (hbitssrc); // Unlock memory :: globalfree (hbitsSRC); // Release memory}