Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Adding Tab Controls (http://www.go4expert.com/forums/adding-tab-controls-t15693/)

piyumali2004 1Jan2009 09:33

Adding Tab Controls

In my application there is a main dialog. In this main dialog there is a menu and by clicking on these menu items I need to display sub dialogs.

Menu and sub dialogs in my application works fine. Now I need to add tabs to these sub dialogs. I added a tab control and also dialog resource and a class for each tab. Every thing is displayed very well.

In my tabs there are edit boxes and other controls that can get the user inputs. I need to get and process these user input data in all the tabs as soon as the user click the ok button in the sub dialog. (For each tab in the sub dialog there is only one ok button.)

Can any one please explain me how can I do that? And also can any one please be kind enough to give a sample code that contains tab controls?

Thank You.

All times are GMT +5.5. The time now is 17:21.