Looking around on the Internet, there are a number of programs, mainly alarm
/ calendar programs that alert the user to something by flashing the
keyboard LEDs on and off. I wrote programs to do this back in the DOS days,
but how do you go about doing that in Windows 9x onwards?
Do these programs cheat and just toggle the numlock etc. state, e.g. with a
keybd_event(), or do they switch the LEDs on and off without altering the
num-/caps-/scoll-lock state.
Regards
R
You need to "cheat". Use SendInput() for changing state of LEDs.
>> keybd_event(), or do they switch the LEDs on and off without
>>altering the
>> num-/caps-/scoll-lock state.
>You need to "cheat". Use SendInput() for changing state of LEDs.
Can this be done in any way from a service, when no-one is currently
logged in? I've seen a program which runs as service where the
blinking works as long as someone is logged in, which is not very
good. Especially when nobody is logged in, the blinking would be much
more helpfull.
Any hints?
Ah, I forgot: Obviously, I need this for NT-based windows variants.
Spiro.
Sorry, I never did something like that with services. I remember that
there were posters which encountered with "interact with desktop"
feature or something.
HTH
Alex