PDA

View Full Version : DoFlip option



anubis79
27-09-2003, 06:22 PM
When my project run in Fullscreen mode DoFlip option gives me a smooth animation and scrolling. But if it runs in Windowed mode (it means not Fullscreen mode) DoFlip option doesn't work. Could you possibly suggest me a way in Windowed mode like DoFlip option. I need the effect of DoFlip option when my project is running in Windows GUI.

Alimonster
28-09-2003, 12:08 PM
Page flipping is a specifically full-screen only thing, so the only alternative is to use double-buffering. Draw onto one surface to compose your frames, then copy it across when it's fully composed. There shouldn't be _that_ much difference between the two methods, hopefully.

Then again, I've not used DelphiX before, so I'll someone else give a better answer now.