Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to dock a toolbar on the right of the pane?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to dock a toolbar on the right of the pane?

 Post Reply Post Reply
Author
Message
floydzhang View Drop Down
Groupie
Groupie


Joined: 08 March 2008
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote floydzhang Quote  Post ReplyReply Direct Link To This Post Topic: How to dock a toolbar on the right of the pane?
    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


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: 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
Back to Top
floydzhang View Drop Down
Groupie
Groupie


Joined: 08 March 2008
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote floydzhang Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
floydzhang View Drop Down
Groupie
Groupie


Joined: 08 March 2008
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote floydzhang Quote  Post ReplyReply Direct Link To This Post 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.
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.066 seconds.