I am displaying a dialog box. On the dialog box I have some edit boxes, raidio buttons, static boxes, push buttons, and check boxes.
The user enters some information in the edit boxes and clicks on the "Submit" push button.
Once the Submit button is pushed I validate the data that was just entered. If it is OK the program continues if not I want to return focus to the edit box that is invalid and allow the user to correct the error.
This is my problem. How can I return focus back to the edit box that is bad, let the user correct the problem, and then push Submit again? Once the Submit button is pushed I again want to validate the data.
I am new at this so any help you have would be great.