Sign in to follow this  
Followers 0
lokster

How to call a function on every key press in GUI Input?

4 posts in this topic

I want to make a certain function to be called on every keypress in a GUI Input box.

With GUICtrlSetOnEvent it does not work. (works, but only when I hit Enter)

I tryed to register the WM_KEYUP or WM_KEYDOWN message, but it does not work at all.

And, YES, I want this function to be called on every key press, not only when I change the text in the Input and press Enter.

Help, anyone?

Share this post


Link to post
Share on other sites



10x gafrost this trick with $WM_CHANGE and $EN_CHANGE worked:)

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