Im working on a parent dialog with a tabcontrol. Im using 3 child dialogs for the 3 tabs. Each of the child dialogs has EDIT controls and COMOBOXES. The parent dialog has 2 buttons, OK and CANCEL. CANCEL is for exiting the application and works fine. In button OK, I would like to get all the values entered in the child dialog controls in the 3 tabs. The code snippet include below is for this button and shows the error: Debug Assertion Failed! I have tried in vain to fix this problem.
Can someone please tell me how i can get the text values of the controls on the child dialogs from the parent dialog?
// TODO: Add extra validation here