![]() |
How to add a toolbar on the Pane? |
Post Reply
|
| Author | |
Ooops
Newbie
Joined: 18 November 2004 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: How to add a toolbar on the Pane?Posted: 18 November 2004 at 6:36am |
|
Please help me!
|
|
![]() |
|
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Ooops
Newbie
Joined: 18 November 2004 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
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! |
|
![]() |
|
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 |