PocketMatrix forums

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

problem with opendisplay

hello !

i have an mfc application and start a thread with gapi.

1.) why does "OpenDisplay" kill my titlebar?
(menubar keeps visible !!, i know that gapi works in fullscreen mode, but i don´t clear anything first!!)
so
2.) is it possible to draw direct in my mfc-application-window?

thanks a lot :)
thanks. i solved this problem.but i have another question.
1.) in my application i press a button to start my thread with GAPI (painting something). but when i leave thread and want to start again (press my button) my application exits. whats wrong?

thanks
so my problem is:
1.)if i draw a line with GAPI in my thread
i can´t start it once more.(application exits)
2.)if i do nothing or for example give out a messagebox everything is ok and i can start my thread with gapi how often i want.
what i found out is that it´s not an opendisplay-problem.so it only crashes when i draw something.

perhaps someone can help me.

thanks once more Ovis