Can I use CMFCTabCtrl in a dialog?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Can I use CMFCTabCtrl in a dialog?

  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
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,057

    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 Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center