Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTabControl usage
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTabControl usage

 Post Reply Post Reply
Author
Message
d324 View Drop Down
Groupie
Groupie


Joined: 16 April 2007
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote d324 Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTabControl usage
    Posted: 08 June 2007 at 4:22am
I'm using a CXTPTabControl in a CDialog, just as in the TKP's TabManager example.

Problem occurs when I let the dialog create the CXTPTabControl for me as Dialog Data. The tab control and the views, at least the first view, are created. However, nothing happens when I click the tab of other views.

But, if I manage CXTPTabControl as a private field myself, call Create() explicitly, then everything works.

Did I miss something from the sample code?
Or should I just manage XTP objects myself?

Thanks.


Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2007 at 6:00am
Hi,
 
What control do you subclass to CXTPTabControl?
 if STATIC you need check Notify flag.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
sasank View Drop Down
Newbie
Newbie


Joined: 16 May 2007
Location: India
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote sasank Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2007 at 6:11am
hi
i would like to create a multi-tabbed sdi application with multiple views using codejock. please let me know the best procedure to do this.

sasank
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2007 at 1:45am
Hi,
See Samples\ToolkitPro\TabbedView  sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
d324 View Drop Down
Groupie
Groupie


Joined: 16 April 2007
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote d324 Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2007 at 11:33pm
Thanks.

The Notify flag was the missing piece.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.