Is there a way to get/set the Scroll Lock state?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
mbeardsley
Knows some wx things
Knows some wx things
Posts: 46
Joined: Thu Sep 25, 2014 7:40 pm

Is there a way to get/set the Scroll Lock state?

Post by mbeardsley » Thu Jun 09, 2016 2:07 pm

Looking through the docs I have been unable to find a way to read and/or set the Scroll Lock state on the keyboard.

Does wxWidgets have some way to do this?

I know that there is a way to simulate the Scroll Lock key press, but I also need to know the current Scroll Lock state.
For example, I want to explicitly turn Scroll Lock off if it is currently on.

User avatar
doublemax
Moderator
Moderator
Posts: 14603
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Is there a way to get/set the Scroll Lock state?

Post by doublemax » Thu Jun 09, 2016 3:32 pm

Use the source, Luke!

Post Reply