PocketMatrix forums

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

GAPI in mfc sdi application

hi !
i have a mfc-sdi application (with Cformview,Cdocument)
and start an user interface thread for drawing
with GAPI (lines and so on).
my questions are:
1.)how can i make a scrollbar in gapi or include cscrollbar (i tried it but i didn“t get right hWnd)
2.)when i finish my thread display keeps in fullscreen(only menubar is right here)->formview is getting bigger!!
but how can i make sytemmenu(keeps applicationname) visible and have size of old formview.

thanks for tips and helping
GAPI isn't like DirectX, which conforms (atleast somewhat) to windows standards. GAPI just gives you a pointer to the video memory so you can do ops directly to the display.

Unfortunately to have a scrollbar you'll have to implement everything yourself, including drawing of the scrollbar.
thanks....

i solved my two problems.