PocketMatrix forums

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

GAPIDRAW in MFC

hi everybody,

i am new to this gapidraw. how should i use it in MFC Single Doc Interface (produced by wizard)? is there any other documentation (illustrations with examples) on this gapidraw besides those that only explain the use of classes?

ps: i am developing a video player that can play bitmap frames on PPC. i need this badly for my project. help!!
The GapiDraw distribution includes an MFC sample based upon the Single Doc Interface. I would recommend using that sample as a starting point.
Agnes18 · 06 Dec 2002, 01:36 UTC — Thanks alot
Thanks alot fren!! but however, i do not see the SDI interface as what is usually seen when i compiled..i see only the sprites running around. no menu bar seen etc...why?
Gapi Draw takes control of the entire screen buffer, thats why the menu bar and start menu is not there.
Agnes18 · 06 Dec 2002, 07:50 UTC — how abt win ce gapi?
oic...no wonder i can't see them..by the way, how about the "GAPI" in win ce?does it have the same effect as the "gapidraw"? ^_^
Yes. GAPI is really just an API to give us a pointer to the video memory for the screen. Not much more. Gapidraw builds on that to give us an actually useful API, but is still built on GAPI and thus suffers the same limitations.

Unfortunately there's no other option but the GDI and as we all know, the GDI just isn't suitable for anything remotely complex or fast.
if that's the case, as i am developing a video player to play a set of bitmap images, are u suggesting that i am not able to design an interface like a normal mpeg player ie the pockettv player that can ope file, play, stop? ( as full screen is to be utilized?). if can do it, how am i able to do it? any hints?

thanks :P

ps: i had tried to integrate the gapidraw into my program which originally can perform such operations but got alot of error such as the whole program running in the background without showing on the screen!!