Print Page | Close Window

Childframe Notifies

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5383
Printed Date: 12 December 2024 at 7:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Childframe Notifies
Posted By: ContactGT
Subject: Childframe Notifies
Date 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



Replies:
Posted By: Oleg
Date Posted: 30 October 2006 at 2:51pm
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net