Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Childframe Notifies
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Childframe Notifies

 Post Reply Post Reply
Author
Message
ContactGT View Drop Down
Newbie
Newbie


Joined: 30 October 2006
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote ContactGT Quote  Post ReplyReply Direct Link To This Post Topic: Childframe Notifies
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
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.156 seconds.