There is another solution to this problem
do the following-
1. Add a function for the EN_UPDATE Message for the Edit Control
2. In the OnUpdate function get the character just typed say ch
3. isxdigit(ch) can be used to verify that it is a digit 0-9, A-F.
That should work.
actually I had asked the same question. read it. thread
Last edited by meisunknown; June 21st, 2004 at 03:55 AM.
Must keep in mind that cut, copy, paste are supported by edit box. So, you must validate the whole new text added not just last character in OnUpdate handler.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.