hello all, I have 2 questions...my 1st question is how do I limit the number of character typed in a textbox in MFC..say if I want the user to type only 4 characters..the text box should take only 4 character.And my 2nd question is when it exceeds the character limit it should jump to the next textbox/tab control.I tried using the following code..but it seem to not work in my case...Please help me if you know any alternatives...
CEdit::SetLimitText(4);