🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Phuoc Can HUA Sun, 23 Mar 2003 23:10
How to get and set the NumLock State?
#17584
Author: Phuoc Can HUA
Date: Sun, 23 Mar 2003 23:10
10 lines
1179 bytes
How do I read and change the the state of the NumLock button?
How can I find out whether the Shift key is pressed and hold (not just in a
KeyPress event, but anywhere in program)?

Phuoc Can HUA

--
_/\__/\__/\__/\__/\__/\_
www.huaonline.com
My Homepage is my Castle
Re: How to get and set the NumLock State?
#17607
Author: Remy Lebeau (TeamB)
Date: Sun, 23 Mar 2003 23:35
10 lines
1321 bytes
Have a look at GetKeyState/GetAsyncKeyState()


Gambit

"Phuoc Can HUA" <home+a+t+huaonline.com> wrote in message
news:3e7e4050@newsgroups.borland.com...
> How do I read and change the the state of the NumLock
> button? How can I find out whether the Shift key is pressed
> and hold (not just in a KeyPress event, but anywhere in program)?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads