I'm not winning with this:
This is a problem with using Runtime options - display options - Direct3D 9.
The problem does not exist if I use standard display but then the movement in my game isn't smooth.
When I press pause and alt-tab out of the game in full screen mode - or something happens on my computer that overrides the game - then 100% of the time I will have an empty black screen when going back to the game until I press any key. But I know that I need to press any key - to someone who is playing the game it looks like it has crashed.
This is happening some of the time when in window mode with pause on. Sometimes the game retains it's surface sometimes I get a black screen here too.
If the game loses focus and it is not paused then I don't have this problem but then since the game isn't paused it keeps on running. When you come back to it - lots has happened.
As far as I can determine the last screen written is being lost - as I understand it - it writes the surface to a temporary memory and then something in windows needs that temporary memory so it takes it and uses it and then it is lost to my game, so I get a black screen.
I do not know if there is something I should be doing myself or if it is something inside Fusion that isn't working.
But all I really need is just a message to show - press any key to continue when there is black screen but I don't know how to do that.
Further information that might be useful:
(I also noticed that using DirectD 9 makes the game unplayable in Windows XP since the objects are not drawn on their right spots and sometimes not even close to their right spots. Sorry for those people still using XP...)
first blocks - empty
Display Mode: Direct3D 9
V-Sync - ticked
Ticked: Heading, no maximise box, no thick frame
Change Resolution Mode - Ticked
Allow user to switch to / from – Empty
Keep screen ratio - Ticked
Screen ratio tolerance - 8
Resize display to fill window size - ticked
Fit inside (black bars) - ticked
Anti aliasing when resizing - ticked
Do not centre frame area in window - empty
Multiple Document Interface (MDI) - empty
Force global refresh - greyed out empty
I did notice that using window mode sometimes the game will be over my task bar and sometimes it will be under my task bar - mostly with the settings I now have it will be over the task bar so it forces you in window mode to minimise the game to use the task bar and this is often when it is losing it's surface and showing a black screen instead.