MAV on Ctrl+Alt+Del

Blitz3D Forums/Blitz3D Bug Reports/MAV on Ctrl+Alt+Del

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok, I also get a MAV when pressing Win+L when in windowed mode (in full screen mode Win+L is received as WM_KEYDOWN (VK_LWIN), WM_KEYUP('L'), WM_KEYUP(VK_LWIN)).

NOTE: This happens with welcome screen enabled or disabled.

Looking at the message stream the windowed app receives when Win+L is pressed, the app thinks it is simply losing focus: there are no messages indicating, explicitly, that windows is being logged off.

It seems, as a result of logging off, B3D is losing the surface/texture memory it manages which leads to the MAV when focus is received.

I'll have to do a little research into how/if Windows lets programs know/query about the Log-Off event.

I'll let you know what I find ;)