Navigating from one Edit Control to the Next
I have two Edit Boxes on my Dialog which my user inputs a properly formated date. I.E. DD-MON-YYYY First problem is how can I automatically move the cursor to the 2nd Edit box when the last character has been entered in the first Edit box. Second problem is I am testing to make sure that when the Process Button on the Dialog is pressed that is either of the boxes are empty the user gets a warning to enter a valid date in whichever edit box was empty. Now I would like to know how can I (after this check has been made and the user acknowledges the message box) return focus to the offending edit box? Actually it would be for the 2nd edit box as the problem is that once the Warning Message has be acknowledged it always returns focus to the First Edit Box.
Any assistance especially any code and guidance for where the code goes would be greatly appreciated!
Thanks! Charlie
Everything is Free Until You Have to Pay for it....
Platform is Windows 2000/XP Professional, Visual C++ 6.0