When using Gapidraw and system dialog boxes (File Open Common Dialog specifically), I am able to display the dialog, but upon tapping the screen, Gapidraw overwrites the display, even if I use m_display.SuspendDisplay() and m_display.ResumeDisplay(). Is there something I should be doing differently? Thanks.
GapiDraw and System Dialogs
What device are you testing with? A Cassiopeia?
Yes. E-125.
Ok. The E125 uses a double buffered access to the display. While SuspendDisplay stops drawing to the backbuffer, the backbuffer will still be black when copied to the display.
I would suggest something like:
I have changed the access rights for ToggleFullscreen in the next version so that it is protected.
I would suggest something like:
- Code:
m_display.SuspendDisplay();
ToggleFullscreen(m_hWnd, FALSE); // Force repaint
// Maybe some other force refresh here
// Show dialog
m_display.ResumeDisplay();
ToggleFullscreen(m_hWnd, TRUE);
I have changed the access rights for ToggleFullscreen in the next version so that it is protected.
Thanks. By trying what you said, it got me pointed in the right direction, even though the main problem doesn't seem to be related to Gapidraw.
hi!
i tried the same, but i have problems with variables.
for example if i enable a checkbox in my dialog and go back to gapi and enter dialog again the checkbox is disabled (should be enabled!!).
please help
thanks wolf
i tried the same, but i have problems with variables.
for example if i enable a checkbox in my dialog and go back to gapi and enter dialog again the checkbox is disabled (should be enabled!!).
please help
thanks wolf