Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full screen mode

Status
Not open for further replies.

Supernat03

Programmer
Apr 30, 2003
206
US
Hi,

I'm new to Directdraw and am using Borland C++ Builder. I am designing a component to drop on a form that will allow use of Direct Draw 9.0.

So far, I am able to create the DirectDraw object, set the display mode, create the primary surface, apply a palette to it, then draw to it. Not a problem. The problem is that when I run a loop to draw continuously to the display, Windows keeps cutting in and trying to update the desktop, taskmenu, etc. They flash in and out in the background.

I am using DDSCL_FULLSCREEN and DDSCL_EXCLUSIVE in my Set Cooperative level. I would expect windows to turn over full control, but it does not. Could this be that my window class is not being initialized properly because I'm not initializing it in WIN32 format and am expecting Borland to?

Thanks in advance,
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top