PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Fullscreen issues with GapiDraw

ok, there are a couple things, first i'd like to know the 'proper' way to toggle fullscreen on/off with a game. i made something that seems to work ok but is extremely messy, is there a gapi function i somehow missed that should do this for me?

second, if i'm running in fullscreen, sometimes suddenly it stops drawing to one of the buffers, and so any change to the screen just results in flicker.

is there a message i should be catching here that somehow i'm not? if i toggle it to windowed and back to fullscreen it works ok again.
the 'proper' way to toggle fullscreen on/off

Actually there aren't any simple ways to toggle between fullscreen on/off in GapiDraw. The next version will support GDI drawing to a window, so maybe that will suit you better?

if i'm running in fullscreen, sometimes suddenly it stops drawing to one of the buffers, and so any change to the screen just results in flicker.is there a message i should be catching here that somehow i'm not? if i toggle it to windowed and back to fullscreen it works ok again.


Strange, this is probably related to the rest of your code that does the fullscreen toggle. None of the sample applications/released games show this issue.

Unfortunately we haven't had time to test GapiDraw for fullscreen on/off toggles...
jaybo_nomad · 16 Oct 2003, 19:24 UTC
Actually there aren't any simple ways to toggle between fullscreen on/off in GapiDraw. The next version will support GDI drawing to a window, so maybe that will suit you better?


Can you provide any more details about GDI to a window?

Do you mean that GapiDraw will support a clipping region to play nicely with normal windows menus, toolbars, and dialogs? Or just that you can get an hDC to party on top of a surface?

What is the timeframe for this release?