Disabling the Windows keys

Blitz3D Forums/Blitz3D Programming/Disabling the Windows keys

Does anyone know if it's possible to disable the windows keys whilst my game is running? Has anyone already done this?

There was a thread somewhere about changing/maintaining the 'focus' of windows to a particular window.

COmbined with , say,

Graphics 800,600,16,1

While Not MouseDown(1)

If KeyDown(219) Or KeyDown(220) Then

Applyfocus(window)

FlushKeys

Wend

End


should mean that window key interruptions are mostly ignored.

This is it I think

http://www.blitzbasic.com/Community/posts.php?topic=33355

Thanks Malice - I'l'l take a look.

FYI, I found this post (thanks to a user on my own forums):

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/gamesforwindows/disablingshortcutkeys.asp