Solved

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

Posted on 2004-08-31
3
317 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
  • 2
3 Comments
 

Author Comment

by:bigsteve87
Comment Utility
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
Comment Utility
0
 

Author Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now