Carl Reynolds wrote:
>
> I'm using W2K - maybe that's the difference?
>
I would have to say yes. Some other small utilities I have written that
rely on the API's to work cease to function under Win2K. Low level
things have been tinkered with I fear.
--
Glen Boyd <[EMAIL PROTEC
I'm using W2K - maybe that's the difference?
Cheers,
Carl
-Original Message-
From: Glen Boyd [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 June 2000 11:23 AM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Num Lock Flash
Carl Reynolds wrote:
>
> Hmmm, doe
Carl Reynolds wrote:
>
> Hmmm, doesn't work for me. From the help,
>
> >SetKeyboardState
> >
> >
> >
> >Remarks
> >
> >Because the SetKeyboardState function alters the input state of the calling
> thread and not the global input state of the system, an application cannot
> use SetKeyboardState
LOCK, CAPS LOCK, or SCROLL LOCK
indicator lights on the keyboard.
Seems fairly definitive. What have I missed?
Cheers,
Carl
-Original Message-
From: Glen Boyd [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 June 2000 6:11 AM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Num Loc
Ahhh. TKeyboardState I should have known. Cheers.
-Original Message-
From: Glen Boyd [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 June 2000 11:43
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Num Lock Flash
James Sugrue wrote:
>
> What is the type of ksFlashing, I
James Sugrue wrote:
>
> What is the type of ksFlashing, I tried PByte put didn't seem to work.
>
> -Original Message-
> From: Glen Boyd [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 23 June 2000 11:20
> To: Multiple recipients of list delphi
> Subject: Re: [DUG
What is the type of ksFlashing, I tried PByte put didn't seem to work.
-Original Message-
From: Glen Boyd [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 June 2000 11:20
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Num Lock Flash
[EMAIL PROTECTED] wrote:
>
> Q
[EMAIL PROTECTED] wrote:
>
> Quoting Glen Boyd <[EMAIL PROTECTED]>:
>
> > GetKeyboardState( ksOriginal );
>
> Ah well you learn something new every day ! :)
I came accross it while reading the Windows 32 Programming
API Bible. Never thought I would have a need for it but
ended up usin
Guys ... Two you have 2 options Learn or Die
Regards Neven
N.K. MacEwan B.E. E&E
[EMAIL PROTECTED]
- Original Message -
From: <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Friday, 23 June 2000 10:25
Subject: Re: [DUG]: Num Lock F
Quoting Glen Boyd <[EMAIL PROTECTED]>:
> GetKeyboardState( ksOriginal );
Ah well you learn something new every day ! :)
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Websit
Quoting Jeremy Coulter <[EMAIL PROTECTED]>:
> Hi all.
> I was wondering if anyone has seen any code that will make the num lock
> light flash on a keyboard ?
the num lock light is controlled by the value of a byte in the DOS low memory
area. I remember some code written in assembly language, w
Cheers, I will give it a go.
Jeremy Coulter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Glen Boyd
Sent: Friday, 23 June 2000 08:11
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Num Lock Flash
> Jeremy Coulter wrote:
>
> Hi
> Jeremy Coulter wrote:
>
> Hi all.
> I was wondering if anyone has seen any code that will make the num
> lock light flash on a keyboard ?
I use the following to flash all lights on the keyboard. Take what you
need from it ;-)
GetKeyboardState( ksOriginal );
repeat
begin
13 matches
Mail list logo