Solved

How can I fade a bitmap image in and out on my splash screen

Posted on 2004-08-31
3
334 Views
Last Modified: 2013-11-20
I am trying to create a splash screen where the letters (Which are in a Bitmap image) fade in, spelling out the name of the program.  I don't mind going to the extra trouble to make seperate bitmap images for each letter to fade in on a white background.  I am currently using this code to draw splash graphics:

void CSplashWnd::OnPaint()
{
      CPaintDC dc(this);

      CDC dcImage;
      if (!dcImage.CreateCompatibleDC(&dc))
            return;

      BITMAP bm;
      m_bitmap.GetBitmap(&bm);

      // Paint the image.
      CBitmap* pOldBitmap = dcImage.SelectObject(&m_bitmap);
      dc.BitBlt(0, 0, bm.bmWidth, bm.bmHeight, &dcImage, 0, 0, SRCCOPY);
}

Any help would be greatly appreciated.
Thanks
0
Comment
Question by:bigsteve87
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:bigsteve87
ID: 11946263
If possible, I would like to fade in a 24-bit .bmp, but this may be too difficult.  256 color .bmp is fine.
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 11947083
0
 

Author Comment

by:bigsteve87
ID: 11952205
Great, thanks.  I found an example of exactly what I need.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question