Childframe Notifies |
Post Reply |
Author | |
ContactGT
Newbie Joined: 30 October 2006 Status: Offline Points: 28 |
Post Options
Thanks(0)
Posted: 30 October 2006 at 10:44am |
I have created a new class 'CChildFrmTabCtrl' as a subclass of CXTPTabControl. I have overridden the OnRbuttonDown and OnCreate method in my class. I use an instance of this class on my ChildFrame to allow me to have a tabbed child frame area. Previously, the tab control was simply derived from CTabCtrl. Now I have styles on my tabs, better tab handling and I can re-order the tabs. However, since changing to a derivative of CXTPTabControl, I have lost the event handling ability in my views - none of my OnButtonClick messages (for example) are reaching the view classes, but they worked before. 3 Questions:
1 Where are my Notify operations going - the OnButtonClick's in my views for examples?
2. Is there a better way of getting a tabbed ChildFrame, perhaps using something from the ToolkitPro??
3. Can I 'tear off' a tab and make it into a floating/dockable pane? Or can I somehow attach a pane to my ChildFrame tabs?
Thanks.
GT
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
please check ready sample for using TabControl in Samples\ToolkitPro\TabbedView You need catch TCN_SELCHANGE message to update selected view. 3. you can attach dockingpanes. See Samples\DockingPane\MDIPanes sample. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |