Print Page | Close Window

Docking panes in CView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=6533
Printed Date: 12 December 2024 at 11:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking panes in CView
Posted By: mgampi
Subject: Docking panes in CView
Date Posted: 28 February 2007 at 5:43pm
Hi;
I'm trying to add docking panes to a CView derived class in my MDI doc/view application. I took the code from DialogPanes and it works, except that I had to call RepositionBars() only when the size of the client rect is greater 0. Otherwise the view content is not shown.
In my case I don't want the panes to be moveable and/or floatable, so I set the option to xtpPaneNoCaption.
 
By now it seems that everything works fine, but I'm not sure.
 
So I'm interrested in any comments about putting docking panes into CViews and whether any problems arise or not.


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

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



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