max number of characters in EDITBOX
-
Hi, I created an EDITBOX. I want it limited up to 5 upper case characters. I set the property upper case to True. So, it works fine with that but I am not sure how to limit the user to enter up 5 characters. Any help would be appreciated! Thanks, Kevin
-
Hi, I created an EDITBOX. I want it limited up to 5 upper case characters. I set the property upper case to True. So, it works fine with that but I am not sure how to limit the user to enter up 5 characters. Any help would be appreciated! Thanks, Kevin
If using MFC, look at CEdit::SetLimitText() call. If using plain windows, look at the EM_LIMITTEXT message. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke -- modified at 21:55 Friday 21st October, 2005