Adding Tab Controls

Discussion in 'MFC' started by piyumali2004, Jan 1, 2009.

  1. piyumali2004

    piyumali2004 New Member

    Joined:
    Jan 1, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    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.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice