Print Page | Close Window

How to add a toolbar on the Pane?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1428
Printed Date: 07 November 2025 at 1:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to add a toolbar on the Pane?
Posted By: Ooops
Subject: How to add a toolbar on the Pane?
Date Posted: 18 November 2004 at 6:36am
Please help me!



Replies:
Posted By: Ark42
Date Posted: 18 November 2004 at 12:11pm


There isnt really any good way if you want it customizable and such. You definately can't drag a toolbar from your main MDI parent and dock the toolbar inside a docking pane.  What I had to do was create my docking pane as a CXTPFrameWnd, and create my docking pane's view in the OnCreate of that CXTPFrameWnd so that I could attach my pane with the Attach() function, not AttachView().
Then in my CView's OnInitialUpdate, I had to copy the toolbar I wanted from the main window since I am using the designer bars and don't want to load two copies of the same bars, and dont want two different designers because then IDs would overlap.


Posted By: Ooops
Date Posted: 18 November 2004 at 6:56pm

Thanks, Ark42!

I am recoding the old project which is based on Xtreme 2.0. And now I am using the Xtreme Toolkit Pro 8.7, they are totally different. I am be confused for XTP 8.7, it looks complicated than before.

So, would you please give me the code fragment about what you mentioned.

Thank you vey much!




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