Re: [DUG]: Num Lock Flash

2000-06-22 Thread Glen Boyd
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

RE: [DUG]: Num Lock Flash

2000-06-22 Thread Carl Reynolds
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

Re: [DUG]: Num Lock Flash

2000-06-22 Thread Glen Boyd
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

RE: [DUG]: Num Lock Flash

2000-06-22 Thread Carl Reynolds
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

RE: [DUG]: Num Lock Flash

2000-06-22 Thread James Sugrue
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

Re: [DUG]: Num Lock Flash

2000-06-22 Thread Glen Boyd
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

RE: [DUG]: Num Lock Flash

2000-06-22 Thread James Sugrue
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

Re: [DUG]: Num Lock Flash

2000-06-22 Thread Glen Boyd
[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

Re: [DUG]: Num Lock Flash

2000-06-22 Thread Neven MacEwan
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

Re: [DUG]: Num Lock Flash

2000-06-22 Thread patrick . dunford
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

Re: [DUG]: Num Lock Flash

2000-06-22 Thread patrick . dunford
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

RE: [DUG]: Num Lock Flash

2000-06-22 Thread Jeremy Coulter
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

Re: [DUG]: Num Lock Flash

2000-06-22 Thread Glen Boyd
> 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