Alistair George wrote: > KS:Tkeyboardstate; > begin > KS[VK_NUMLOCK]:= VK_NUMLOCK AND (NOT 1); > SetKeyboardState(KS); Hm... when I do this the Numlock stays off and both the Caps and Scroll leds are turned on. What do you think is the problem? Gajo Csaba --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
- [DUG]: Corbar Server Yanbo Li
- Re: [DUG]: Corbar Server Nic Wise
- RE: [DUG]: Corbar Server Jeremy Coulter
- RE: [DUG]: Corbar Server Mark Derricutt
- [DUG]: NUM Lock ON-OFF gajo
- RE: [DUG]: NUM Lock ON-OFF Max Renshaw-Fox
- RE: [DUG]: NUM Lock ON-OFF Alistair George
- Re: [DUG]: NUM Lock ON-OFF gajo
- Re: [DUG]: NUM Lock ON-O... Aaron Scott-Boddendijk
- Re: [DUG]: NUM Lock ON-OFF Aaron Scott-Boddendijk
- RE: [DUG]: NUM Lock ON-O... Alistair George
- [DUG]: Keep windows on t... Alistair George
- [DUG]: Error creating window Alex Kouznetsov
- Re: [DUG]: NUM Lock ON-OFF gajo
- RE: [DUG]: Corbar Server Yanbo Li