Jump to content

Recommended Posts

Posted

I'm trying to make a kind of masking input control and I want to know if I can detect when an arrow key is pressed inside an input box.

I know that I can use HotKeySet Function but I want to know if I can handle it Locally in the GUI Form as an event.

Thanks in advance

Posted (edited)

Subclass the input box (Callback UDF), catch WM_KEYDOWN. Other than that, you can't.

Edited by Siao

"be smart, drink your wine"

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
×
×
  • Create New...