Page 1 of 1

direct drawing

PostPosted: Mar 6, 2003 @ 7:40pm
by ITT
hi,
i have a menubar in the backbuffer and flip it to display at the beginning of my programm.then i paint directly to my display(always paint one point per programm-loop) .ok my problem is that if i turn off and on my PDA my menubar disappears.i know my failure, because i have to do:
"if (m_display.Flip() == GDERR_BACKBUFFERLOST)
m_display.GetBackBuffer(&m_backbuffer);"
in my loop. but then its a problem to my direct painting, because if i do this i can“t see my direct drawings anymore(only one point per loop and even this is very difficult).
please help
peter

PostPosted: Mar 7, 2003 @ 3:35pm
by ITT

PostPosted: Mar 10, 2003 @ 5:43pm
by Guest