PocketMatrix forums

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

Does GAPIDraw only support full-screen mode?

gerecke@starband.net · 12 Apr 2002, 16:28 UTC
Hi, I'm looking into porting my DirectX application to GAPIDraw. Because my application utilizes MFC GUI componets (i.e. toolbars, menus, etc.) I need to be able to run as a windowed application in normal coperative mode. From the CGapiDisplay API it looks like this isn't an option with GAPIDraw. It this true?

Thanks,
Bill Gerecke
Bill,

GapiDraw works perfectly in both Windowed as well as full screen mode.

Please see the DirectDraw vs GapiDraw comparison on www.pocketpcdn.com for the differences on cooperative mode and SetDisplayMode. To use full screen, pass "GDOPENDISPLAY_FULLSCREEN" as a parameter to OpenDisplay. To use windowed mode, just omit this parameter.

GapiDraw 1.1 will also use the correct alignment of the display when run in a window.

Best regards,
Johan