Description: Installer and many games, screen savers, often have the effect of background gradient (an image gradually disappear, while the other one image is gradually displayed). How to achieve this effect? Windows (GDI) environment, bitmap fade in three ways: 1. The palette animation: This method is fast, but can only be used for 256-color graphics, but not easy to achieve fade effect, is not recommended 2. The pattern brush: This method is relatively simple, but the effect is not as good as the other two 3. Animation method: This method works well, but the speed is slightly slower. This example uses " animation" example to explain the two bitmaps, the first picture is gradually emerging from the black background, gradually blanking after the first picture, the second picture is gradually emerging gradient effect.
To Search:
File list (Check if you may need any files):
源代码\GradualChange.aps
......\GradualChange.clw
......\GradualChange.cpp
......\GradualChange.dsp
......\GradualChange.dsw
......\GradualChange.h
......\GradualChange.ncb
......\GradualChange.opt
......\GradualChange.plg
......\GradualChange.rc
......\GradualChangeDoc.cpp
......\GradualChangeDoc.h
......\GradualChangeView.cpp
......\GradualChangeView.h
......\MainFrm.cpp
......\MainFrm.h
......\ReadMe.txt
......\Resource.h
......\StdAfx.cpp
......\StdAfx.h
......\bmp1.bmp
......\bmp2.bmp
......\res\GradualChange.ico
......\...\GradualChange.rc2
......\...\GradualChangeDoc.ico
......\...\Toolbar.bmp
......\res
源代码