Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can anybody explain me how to create a transparent surface on top of a primary surface using directdraw7 in c++? I am able to create primary surface and blit on it. but when i try to create transparent surface using overlay, the CreateSurface() function call is failing. I have set DDSCAPS_OVERLAY flags for DDSURFACEDESC2 structure. any help would be greatly appreciated. I searched a lot in internet but couldn't get much help.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900