Re: Caps lock light

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Josh Assing (xjoshx_at_jassing.com)
Date: 02/14/04


Date: Sat, 14 Feb 2004 09:22:36 -0800


ack. sorry -- I missed that part about "control" the status --
There is the api call SetKeyboardState() in win32
Not sure if it existed in win16 -- you might be able to thunk it tho.

Sorry about the stress.dll -- thougth that was documented in the docs.

On Fri, 13 Feb 2004 17:17:10 -0500, "Rick Bean" <rgbean@unrealmelange-inc.com>
wrote:

>Josh,
>I see that the function only checks the status. Is there any way to control it? Note: I couldn't try it initially because when I "SET LIBR TO jUtil" it comes up asking for STRESS.DLL. I found it at http://www.jassing.com/Binaries/STRESS.zip.
>
>Rick
>
>"Josh Assing" <xjoshx@jassing.com> wrote in message news:929q20d3nuc6qkh0l06vpj956vm6gcg0kl@4ax.com...
>> check out my jUtils for FPW
>>
>> http://www.jassing.com/binaries/jutil411.exe
>>
>> Look at shftstat() that might help you...
>>
>>
>> On Wed, 11 Feb 2004 19:31:07 -0800, "Dan in Stuart" <dnbwlr@adelphia.net or
>> dnbwlr@netscape.net> wrote:
>>
>> >Hi,
>> >
>> >I'm developing a system in foxpro v2.6 for windows and need to know how to control the caps lock light from within foxpro. The capslock(.t.) function (with caps lock off) turns caps lock on but doesn't illuminate the light (fixed in later versions). If the user hits the caps lock button at this point, the caps lock light turns on but switches the function to lower case (confusing to the user). Anybody know of a way to turn the caps lock light on and off within foxpro? Maybe a peek/poke address or !run command?
>> >
>> >Input is appreciated,
>> >Dan
>>
>>
>> ---
>> Remove x's to send.

---
Remove x's to send.


Relevant Pages

  • Re: help with thunk implementation for armV4
    ... Win32 does not really provide window objects, ... and the machine code in the thunk leaves the stack ... kept on the stack or heap - the core message handler is inherited by ...
    (microsoft.public.windowsce.app.development)
  • Re: Katzen
    ... "Automatische Erkennung der Zeitzone unter Win32" ... Postest du etwa noch mit win 3.1 aka Win16? ... auf der Site war ich gerade. ... Den Satz habe ich auch ...
    (de.soc.senioren)
  • Re: help with thunk implementation for armV4
    ... Yes, I believe that the thunk, in this instance, could be termed a ... Win32 expects a window procedure to be a c style ... land to c++ object land. ...
    (microsoft.public.windowsce.app.development)
  • Re: Meanwhile, sounds like the unicode update is coming along ...
    ... When porting applications from one platform (Win16) to other platform ... (Win32), ... I wonder if such arguments were raised when Delphi 2 came out and dropped ...
    (borland.public.delphi.non-technical)
  • Re: Borland is neglecting Delphi for Win32 badly
    ... Rudy Velthuis wrote: ... Win16 to Win32 was also a large change in the OS itself: ... rewritten kernel, totally rewritten user interface, and more. ...
    (borland.public.delphi.non-technical)