Results 1 to 4 of 4

Thread: Keys Not in use in my game - those I select

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Israel
    Posts
    636

    Arrow Keys Not in use in my game - those I select

    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

  2. #2
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    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...)
    Sanity is a full time job

    Puh das war harter Stoff!

  3. #3
    jim mcnamara
    Guest
    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.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Israel
    Posts
    636

    Thank you, Guys.

    Thanx for helping!

    http://now.at/ariecoolsite
    Please try it!!
    Arie.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width