Alt Tab etc and windows messages

Started by
0 comments, last by Sly 19 years, 3 months ago
I want my game to remain in full screen and alt-tab (or disable it) safely. At the moment, alt-tab or some other window that pops up will crash the game. Would I need to do something (disable dxtimer ?) in the form losing focus event? What other "safe" things should I do to preserve the state etc?
Advertisement
As I have never used DelphiX, I do not know any specifics of getting it to handle task-switching. When using DirectX (DirectDraw or Direct3D), you have to handle the possibilities of surfaces and devices being lost. These surfaces then have to be restored and the devices reset before they can be used again.
Steve 'Sly' Williams  Monkey Wrangler  Krome Studios
turbo game development with Borland compilers

This topic is closed to new replies.

Advertisement