Dear experts,
I'm working on windows mobile 6.1.
I'm trying to create a very simple flipping demo. With flipping, setcooperativelevel ( ) needs to be in full screen execlusive mode.
I took the following steps:
1) Create a complex surface (with back buffer)
2) set cooperative level to full screen.
hr = pDD->SetCooperativeLevel(hWnd, DDSCL_FULLSCREEN );
3) memcpy my data to back buffer.
4) flip the surface.
It works fine, but i see a quick blink before i see the content of my back buffer surface
after flip.
I think the reason for that blink is because of step 2, on windows mobile,
when setting cooperative level to full screen, whole screen goes black.
How do i avoid this kind of blink, or how to I avoid the screen from going
black when setting cooperative level to full screen?
thanks!
| Top Expert: |
jkr |
| Expert Since: |
09/21/1998 |
| Accepted Solutions: |
11959 |
| Computer Expertise: |
Beginner |
jkr has been an Expert for 10 years 3 months, during which he has posted 45617 comments
and answered 11959 questions. jkr is just one of 907 experts in the C++ Programming Language Zone.
20081119-EE-VQP-48 - Hierarchy / EE_QW_2_20070628