Announcement

Collapse
No announcement yet.

Capture the Windows key

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Capture the Windows key

    If anyone knows how to capture the Windows key, I would
    appreciate it very much. I'm not sure if it's even possible,
    I'm thinking it's probably not....but, just in case.

    Dave

  • #2
    It can be disabled in Windows 95 with a small utility from MS, primarily provided to stop game players from pushing it accidentally!

    I don't know if such a utility is still available for more recent version so Windows, but MS should be able to tell you.

    Do you actually need to intercept the Windows (and maybe the Context key) or just ignore them? What ideas do you have in mind?

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Well, Lance, I've kind of been messing around with a unix-style
      shell for dos, and I was hoping to be able to intercept the
      windows key and move to my own procedure, so as to avoid users
      other than root from exiting the program (or getting around it
      by jumping into windows). Thanks in advance,

      Dave

      Comment


      • #4
        I searched http://www.msdn.microsoft.com and only found one reference to disabling the Windows key, but it is probbaly of little use to you.
        http://support.microsoft.com/support.../Q216/8/93.ASP

        I'd suggest you trawl Usenet and some of the hardware programming sites...

        Good luck!


        ------------------
        Lance
        PowerBASIC Support
        mailto:[email protected][email protected]</A>
        Lance
        mailto:[email protected]

        Comment


        • #5
          Thanks, Lance, I really appreciate it.

          Dave

          Comment


          • #6
            BIOS Keyboard Routine

            Doesn't the BIOS Keyboard function call (INT &H16) return the ASCII character and scan code for ANY key on the keyboard? If so, all a program would have to do is check the scan code for the Windows key (ASCII character will be 0) and act on it.

            Comment

            Working...
            X