Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Controlling toolbar layout
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Controlling toolbar layout

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


Joined: 29 October 2004
Location: Russian Federation
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lehin Quote  Post ReplyReply Direct Link To This Post Topic: Controlling toolbar layout
    Posted: 29 October 2004 at 7:13am

Hi, All

I've downloaded trial version of the XTP 9.51 in order to see how the library can be used with my program. Everything seems to be pretty good, except one thing... Please notice: i already have some framework, concepts and so on.

One of the concepts is the tools concept: i have some collections of tools, can switch between them, can stack them, etc. Any tool can show its own toolbars and panes, what is more, the framework (i mean common UI code) hasn't knowlege about all the tools. Tool itself doesn't create additional panes and bars - it just tells, what should be created.

So, there is a problem as i can see (or, may be, it's not a problem). I need to manage toolbars and panes layout somehow by myself. In particular, i have a common code, that shows/hides/places toolbars/panes (at least, it's presumed to work in this way). I can't create all toolbars and panes at one moment and keep them existing - so it's necessary to create/destroy toolbars/panes dynamicaly and (it's important) to keep them on desired place. Hence i need some mechanism to load/save state and placement of the single toolbar/pane (not the whole layout) i order to place correctly (as it's possible based on the current toolbars / panes layout) newly created toolbars/panes. Is it possible? At first glance (at the second too ) i couldn't find the way to separately save/restore placement of the bars and their docking state.

 



Edited by Lehin
Back to Top
Lehin View Drop Down
Newbie
Newbie


Joined: 29 October 2004
Location: Russian Federation
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lehin Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2004 at 5:25am

Sorry for importunity... but the ability of the separate saving/restoration toolbars/panes is important for me. In case i will not solve the problem it's impossible to purchase the library for using in my product.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 02 November 2004 at 7:00am

You can only hide/show individual toolbars.

See sample 2004-11-02_065947_ViewBars.zip

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.047 seconds.