Unicode restriction
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi. I want to restrict entering unicode characters in the edit box on a dialog. Could you please give any idea to handle this.
Mohan
-
Hi. I want to restrict entering unicode characters in the edit box on a dialog. Could you please give any idea to handle this.
Mohan
Gday, You need to look into input filtering. It's just a matter of sub-classing the edit control, passing only the allowed characters as input, while discarding undesired ones. Here's an article that deals with input filtering. Enhanced Focus Edit Control with Input Filtering[^]