CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: tabctrl

  1. #1
    Join Date
    Apr 1999
    Posts
    2

    tabctrl

    I have figured out how to create the pages in a tab control. Now I need to figure out how to place edit boxes and button controls on each individual page. Any advice will be appreciated. I cannot seem to find much on the topic in all the literature that I have checked
    thanks
    bq


  2. #2
    Guest

    Re: tabctrl

    Same to me, I didn't find much on this topic, and I'm interested in knowing, how that works! So if anyone has a solution or sample,
    please let me know! Thanks ... Thomas

    [email protected]


  3. #3
    Join Date
    Apr 1999
    Posts
    27

    better use PropertySheet and Pages

    I dont know that too but I would do it with PropertySheet and Pages

    --
    -=SKULK=-

  4. #4
    Join Date
    May 1999
    Location
    Atlanta, GA, USA
    Posts
    443

    Re: tabctrl

    Hi.

    When you check MSDN help by tab control, you will find PSView.exe
    generated tab control inside CView.

    1)Create Tab control in Dialog or Formview.
    2)Create Modless dialog in Tab control
    3)When we click tab, use Reflection message.
    That is, write the code to change the page the parent of Tab-Dialog
    or Tab control -itslef(need Tab control subclasses).
    4) Two ways to make modeless.
    a) Each time, destory the modeless dialog and generate it.
    b) Create all modeless dialog and hide or show it.

    Hope for help.
    -Masaaki Onishi-




  5. #5
    Join Date
    Apr 1999
    Posts
    90

    Re: tabctrl

    I have a very good example of how to do this.
    Please include you email address so that I can send it to you.


  6. #6
    Join Date
    Apr 1999
    Posts
    2

    Re: tabctrl

    i'LL wait with great anticipation for the sample code explainning tabCtrls. The topic is very frustrating for a beginner to understand.
    Thankyou very much
    [email protected]


  7. #7
    Join Date
    Apr 1999
    Posts
    21

    Re: tabctrl

    Hi, there are a lot of good examples about this topic in http://www.codeguru.com/propertysheet/index.shtml
    I'm pretty sure you'll find there all the answers.

    Fabian


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