DirectDraw doesn't have this functionality built-in.
There are other options, but you won't like them. You could:
Use Direct3D for your 2D graphics. Use a 3rd party engine. Write your own fading code from scratch---Not easy for a beginner. (Meaning I can't tell you how). Decide it's not worth it and abandon the idea. Draw each stage of the fade by hand and make it an animation.
I hope this helps. . .Or at least doesn't hurt too much.
I know how to do it in Direct3D9 I just thought it might be eaiser in DirectDraw9 because my program is 2d graphics. I guess if I haft to go back to Direct3D9 I will. I program c script ruby and other languages like that. 3D gamestudio is one program. I just started geting into DirectX9 For Visual Basic .NET(I know how to program in VB.NET not at a professional level maby at an advanced level). DirectDraw9 seemed easy and I could get things done, but maby I should have checked it out a little more before I started using it.
I don't know which program you use for textures, but make sure whatever part you wish to have transparent/blended has the alpha channel set on the texture itself, when it is rendered it should be blended.
The net is getting bigger and bigger.
Edited by - Knight Chat X on May 28 2005 5:44:14 PM