Print Page | Close Window

How to dock a toolbar on the right of 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=13065
Printed Date: 23 June 2025 at 1:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to dock a toolbar on the right of the pane?
Posted By: floydzhang
Subject: How to dock a toolbar on the right of the pane?
Date Posted: 05 January 2009 at 3:16am
Hi,

How to dock a toolbar on the right of the CXTPDockingPane? Like the screenshot attached with this post. Thanks!

Boyang





Replies:
Posted By: Oleg
Date Posted: 05 January 2009 at 6:30am
Hi,
Guess you need make this toolbar part of your CView and dock it in top.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: floydzhang
Date Posted: 05 January 2009 at 7:30am
Hi,

Thank you for your reply.

Because I use mm_anisotropic mode in my view for zomming, it's not easy to put the toolbar as part of cview, otherwise thre toolbar will be zoomed as well.

So I have to use split view or put a dockingpane on the top and put a toolbar  on it? But I dislike.

BRs
Boyang




Posted By: mgampi
Date Posted: 05 January 2009 at 7:34am
Hi;
What about putting your CView derived class into another CWnd which is parent for toolbar too?
To ease command message processing, you can route all command messages from the parent window to the view...


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: mdoubson
Date Posted: 06 January 2009 at 5:04pm

Visual Studio Control Bar docked as Top can be moved to right corner and Studio keep it in state so next time it will show Control Bar here. Could you dock Your toolbar in same way?



Posted By: floydzhang
Date Posted: 07 January 2009 at 3:03am
Hi,

Finally, I use a docking pane to solve this problem. It's the easiest way for me. Thank you every one.



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