home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / win32 / 849 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!convex!linac!unixhub!egnext1.SLAC.Stanford.EDU!craigm
  2. From: craigm@egnext1.SLAC.Stanford.EDU (Craig Markwardt)
  3. Newsgroups: comp.os.ms-windows.programmer.win32
  4. Subject: Re: bug in SetKeyboardState?
  5. Message-ID: <CRAIGM.92Sep6225301@egnext1.SLAC.Stanford.EDU>
  6. Date: 7 Sep 92 05:53:01 GMT
  7. References: <JKF.92Sep6090948@frisky.Franz.COM>
  8. Sender: news@unixhub.SLAC.Stanford.EDU
  9. Organization: Stanford Linear Accelerator Center
  10. Lines: 24
  11. Nntp-Posting-Host: egnext1.slac.stanford.edu
  12. In-reply-to: jkf@Franz.COM's message of 6 Sep 92 17:09:48 GMT
  13.  
  14.  
  15. In article <JKF.92Sep6090948@frisky.Franz.COM> jkf@Franz.COM (Sean Foderaro) writes:
  16. >
  17. >I've written a little program to switch the Caps Lock and Control keys
  18. >for Windows 3.1 (which I'll be posting shortly).  I tried to port it
  19. >to NT without success.  I've traced the bug down to the
  20. >SetKeyboardState function which seems to have no effect in NT.
  21. >Perhaps this is due to a misunderstanding on my part (or perhaps this
  22. >just isn't implemented yet on NT).
  23. >
  24.  
  25. I can't guarantee it, but I will bet that the security protections of
  26. Win NT do not allow one to mess with the global keyboard state.
  27.  
  28. Craig
  29. ---------------------------------------------------------------------
  30. Craig Markwardt             SLAC           | "The patron saint of quality
  31. internet: craigm@egnext2.slac.stanford.edu |  footware.."  -- Spinal Tap
  32. ---------------------------------------------------------------------
  33. --
  34. ---------------------------------------------------------------------
  35. Craig Markwardt             SLAC           | "The patron saint of quality
  36. internet: craigm@egnext2.slac.stanford.edu |  footware.."  -- Spinal Tap
  37. ---------------------------------------------------------------------
  38.