Advertisement

Displaying windows in fullscrn DirectX

Started by February 08, 2000 06:06 PM
-1 comments, last by Dregon 24 years, 10 months ago
Hello ....y''all. I''m creating a tool to check my animations in fullscreen DirectX. I constantly pageflip to create the animation at the same time trying to display a window''s control (slidebar). I tried decoding the DirectX sample FSWINDOW but I''m afraid the code is just to encryptic. I tried using the DirectX SDK help which says that you need to display the window by using FlipToGDISurface(); I did this and it worked but with a heavy flicker. The GDI surface is covering my primary buffer surface. In the SDK help it says to clip the main app window. This confuses me. I figured you''ld have to clip the child/or control, flip to the primary buffer, then flip the GDI buffer and both would be displayed w/ the GDI control displayed on top. I tried them both with some strange but obviously wrong results. I must be be clipping them incorrectly or something. Any feedback? samples maybe...maybe? ThanX, Dregon

This topic is closed to new replies.

Advertisement