GioVit Posted October 14, 2007 Share Posted October 14, 2007 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 Link to comment Share on other sites More sharing options...
Siao Posted October 14, 2007 Share Posted October 14, 2007 (edited) Subclass the input box (Callback UDF), catch WM_KEYDOWN. Other than that, you can't. Edited October 14, 2007 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
GioVit Posted October 15, 2007 Author Share Posted October 15, 2007 Subclass the input box (Callback UDF), catch WM_KEYDOWN. Other than that, you can't.Many Thanks I'll try it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now