CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005
    Posts
    445

    Can I use CMFCTabCtrl in a dialog?

    Hi all,

    Is it possible to use CMFCTabCtrl in a dialog??

    Many thanks!!

  2. #2
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: Can I use CMFCTabCtrl in a dialog?

    I guess, it is.
    Call CMFCTabCtrl::Create or
    1. in resource editor, add a tab control in dialog template;
    2. right click on the control and add a variable;
    3. go to source code and change "CTabCtrl" to "CMFCTabCtrl".


    Note
    Generally, instead of use tab controls in dialogs, it's much more easier to make property sheets.
    See CMFCPropertySheet/CMFCPropertyPage or CPropertySheet/CPropertyPage.
    Last edited by ovidiucucu; March 2nd, 2012 at 12:59 AM.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured