Jump to content
Sign in to follow this  
lokster

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

Recommended Posts

lokster

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
lokster

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.