Hi, Guys!
I have an interesting question to ask you:
I want that with in my game the user can't press some key that
I choose such as the Print Screen key...
How can I cancel it?
If any questions, ask...
Thank you,
Arie.
http://now.at/ariecoolsite
Printable View
Hi, Guys!
I have an interesting question to ask you:
I want that with in my game the user can't press some key that
I choose such as the Print Screen key...
How can I cancel it?
If any questions, ask...
Thank you,
Arie.
http://now.at/ariecoolsite
well if your program in running in exclusive mode in DX that would be no problem. if you are doing something else I think you could archieve the same through subclassing, but than there would be tools like powersnap that could still easily get a screenshot even if you disabled the printscreen button. (I know you didn't say that you wanted to disable screenshots... just figured...)
KEyboard hook from MSDN:
http://support.microsoft.com/default...;EN-US;q177992
This lets you trap every keystroek and decide whether to pass it on to the system or not.
Thanx for helping!
http://now.at/ariecoolsite
Please try it!!
Arie.