Page 1 of 1
OpenDisplay fails with GDERR_UNSUPPORTEDMODE

Posted:
May 15, 2003 @ 5:35pm
by Dan East

Posted:
May 15, 2003 @ 5:53pm
by Presto

Posted:
May 15, 2003 @ 6:13pm
by Dan East

Posted:
May 15, 2003 @ 7:09pm
by Johan
Some ideas:
(1) Check that the thread calling OpenDisplay() is the same that created the window
(2) Check so that the window really is the top parent window
The PPC doesn't care for the rest of the flags...

Posted:
May 15, 2003 @ 7:32pm
by Dan East

Posted:
May 15, 2003 @ 7:51pm
by Dan East

Posted:
May 16, 2003 @ 8:29am
by Johan
Hi Dan,
Look at the included "MFC" sample. It was created by:
(1) Creating a new application without doc-view
(2) Removing the view class
(3) Adding event handlers to the frame window class
(4) Adding a new thread (since the message pump is hidden within MFC - ProcessNextFrame needs to be separated)
The MFC sample uses MFC and works with GapiDraw 2.01. Perhaps you are not using the CFrameWindow class?
//Johan

Posted:
Jun 14, 2003 @ 5:52pm
by Dan East

Posted:
Jun 15, 2003 @ 6:20pm
by Johan
Thanks for the info, I didn't know that.. I'll add it to the "known issues" list at gapidraw.com. Glad to hear the issue got resolved!