Jump to content

$ ES_NUMBER without invalid character message


Recommended Posts

Does anyone know if you can remove the balloon message from the input control when you use $ ES_NUMBER and type a character that is not a number? I just need the character not to be typed and not to show any messages.

Link to post
Share on other sites

One easy way. Use WM_COMMAND with EN_CHANGE.  Check if the input box contains other char than [0-9] and backspace it.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...