pin behaviour |
Post Reply |
Author | |
douglashogan
Groupie Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62 |
Post Options
Thanks(0)
Posted: 07 July 2003 at 4:52am |
Hi, I am wondering whether to buy the docking windows library. I have one requirement. I need to be able to attach a pinnable docking bar to a cview object or some other child window of the main frame window. From all the demos I have seen, it appears that the bars are attached to the main window. When the bar (which is a child of the view, in an SDI) becomes unpinned, I need the icon to reside in the view area and not at the bottom of the main window. And when the bar becomes visible again I need it to only take up space in the view and not the entire width of the frame. The bar should be context sensitive to the view and not global. Does the toolit support this behaviour? I sort of have my own implementation with some minor redraw issues. I will junk my code and use yours if I can do this. Do you have a demo which illustrates what I mean? Thanks
|
|
Regards
Douglas Hogan |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Docking Panes 7.10 already supported it. Download Samples and run MDIPanes.exe |
|
douglashogan
Groupie Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62 |
Post Options
Thanks(0)
|
Cool, But this also attaches the pane windows to a MDI Frame Window instead of a SDI Frame window. Can you tell me definitively that I can attach a docking pinnable window to the CView portion of an SDI application. I don't want any interaction with the toolbars attached to the SDI frame window. It would be nice to have some sample evaluation code to test against as with the Extreme Toolkit which I bought some months ago.
|
|
Regards
Douglas Hogan |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Sorry, Douglas, I don't understand. If it is an SDI appliacation, what is difference between bottom of the SDI Frame and bottom of CView? There is no interaction with the toolbars. If pane unpinned at the bottom all bottom toolbars will be under it. In any case the "site" of the Docking Pane manager must be CFrameWnd derived class. |
|
douglashogan
Groupie Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62 |
Post Options
Thanks(0)
|
Hello Oleg, Attached is 3 screenshots of what I mean. My application is an SDI Outlook-like application where there is a a splitter in the main frame. The right hand pane is a cview based object. This view class swaps in and out child dialog boxes / or controls, based on the selection in the tree control. On some of these options, I need the user to be able to use a resource which can be accessed by click on a button at the bottom of the view. The appearance of these resources is dependent on what is being edited. Therefore the resource manager window should only appear within the view area. screenshot 1 shows a registry browser at the bottom where keys can be dragged to the view on the top part. screenshot 2 shows the browser resource collapsed by pressing the close button. screenshot 3 shows a difference screen in the dialog editing area where there are 3 resource options at the bottom. The point is that these resource windows are context sensitive to what is being edited in the view. If I use on of you pinnable windows, then when an item is unpinned it will take the full width of the application and obscure the navigation pane of the main splitter window. I suppose I could create a CFrameWnd child of the view taking up the full client area to which I could attach various pinnable windows when required. Also, I would like to not allow the user to drag or detach the pinnable windows, only to iconize and expand. Is this possible.
|
|
Regards
Douglas Hogan |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Clear, Douglas. With Docking Pane 7.10 it will be impossible to do :( But I hope next version (planned in august) will contained such samples. |
|
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 |