Solved

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

Posted on 2004-08-31
3
336 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

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

624 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