Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rewrite URL With Encoded Characters 6 75
mixString challenge 36 111
not able to insert into temp table 68 157
Replacement selected text 2 58
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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…
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.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

20 Experts available now in Live!

Get 1:1 Help Now