Sign in to follow this  
Followers 0
Onoitsu2

Caps, Numlock, Or Scroll Lock States And How To Retrieve?

3 posts in this topic

Does anyone know a method that I can retrieve the state of the CAPS LOCK, NUM LOCK, and SCROLL LOCK options ?

I am attempting to make a hotkey only work if the numlock is off so that you can still use the number pad to type numbers, and then use it to switch tabs in a game called RuneScape, I have the tab changing working, but have no clue how to do the check for numlock being on or off ...

and yes I know all about how hotkeys work I have a plan already in affect for something similar in nature,

so if the window is active the hotkeys are too, or else when polled inside my while 1 wend loop (the "MAIN FUNCTION" TO ALL YOU C/C++ JUNKIES :think: ) the window is not active then it unbinds the hotkeys, and then again polls for when it becomes active again to yet again rebind the hotkeys...

Thanks in advance,

Onoitsu2


Things I have made:[font="Trebuchet Ms"]_CheckTimeBlock UDF(LT)MOH Call Ignore List (MOH = Modem On Hold)[/font]

Share this post


Link to post
Share on other sites



Sorry in advance for the double post please delete my other topic with the same title, my internet was lagging hardcore and well anyone that has used dial-up knows what I mean.

Again I am awfully sorry...

Laterzzz,

Onoitsu2


Things I have made:[font="Trebuchet Ms"]_CheckTimeBlock UDF(LT)MOH Call Ignore List (MOH = Modem On Hold)[/font]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0