Obtaining High-Color Splash Screens

Environment:Visual C++ 6.0, MFC

The default bitmap provided by "splash screen component" included with Microsoft Visual C++ 6.0 is a 16-color bitmap. Although the Visual C++ resource editor is capable of displaying images with up to 256 colors, any new bitmap created with Visual C++ 6.0 defaults to 16 colors.

To display a high-color splash screen, follow these steps:

  1. Insert a splash screen component to the project using "Components and Controls Gallery."
  2. Open the bitmap associated with the splash screen in the resource editor, and note the image file name.
  3. Using an image editor such as MS Paint, edit the image file and save it with the required color depth.
  4. Now the splash screen would display an image with a color depth of more than 16 colors.
  5. As the bitmap editor included with Visual C++ versions 6.0 and earlier, is not capable of displaying images with more than 256 colors; you will need to use an external image editor for all further editing of this bitmap.


Comments

  • Not in a dialog based application

    Posted by Legacy on 08/30/2002 12:00am

    Originally posted by: Mark

    You can't use the splash component in a dialog based application (according to the MSDN help).

    Reply
  • Thanks

    Posted by Legacy on 07/11/2002 12:00am

    Originally posted by: Dross

    Thank you. This was extremely useful and saved me a lot of time. I was about to create my own splash class from scratch.

    Reply
  • No Components Gallery!!!!

    Posted by Legacy on 07/09/2002 12:00am

    Originally posted by: ed

    It would be nice if I actually HAD a components and controls gallery! Maybe somebdoy can tell me how to have that in the menu?

    Reply
  • Cool, but there is a question

    Posted by Legacy on 05/25/2002 12:00am

    Originally posted by: Friend

    Did anybody know how to use BOOL LoadBitmap( LPCTSTR lpszResourceName ); of class CBitmap. I try to point absolute path to bitmap file but it doesn't works. Yes, I know that this is a very stupid question, but I don't know why it doesn't work. Till now I use examples that opens and read file and everything was fine.

    Regards,
    Friend

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: May 6, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT While you likely have very good reasons for remaining on WinXP after end of support -- an estimated 20-30% of worldwide devices still are -- the bottom line is your security risk is now significant. In the absence of security patches, attackers will certainly turn their attention to this new opportunity. Join Lumension Vice President Paul Zimski in this one-hour webcast to discuss risk and, more importantly, 5 pragmatic risk mitigation techniques …

  • Download the Information Governance Survey Benchmark Report to gain insights that can help you further establish business value in your Records and Information Management (RIM) program and across your entire organization. Discover how your peers in the industry are dealing with this evolving information lifecycle management environment and uncover key insights such as: 87% of organizations surveyed have a RIM program in place 8% measure compliance 64% cannot get employees to "let go" of information for …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds