Print Page | Close Window

Dockipane Resizing and controls inside

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=957
Printed Date: 04 May 2024 at 3:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dockipane Resizing and controls inside
Posted By: brucesinner
Subject: Dockipane Resizing and controls inside
Date Posted: 19 July 2004 at 4:00pm
Hi ppl,

I'm a somekind of new with MFC and started to code my first app with it.
I have put a DockingPane and attached a dialog inside it I created with Resource Editor of VC++ (i use 2003.NET). No problems at all it worked great!

But I have a tree control in the dialog with a static control below it showing a picture. When the mainform is resized, everything is resized too including the dockingpane. My app layout looks like the Gui_VC71 example found in the samples directory of ToolKit Pro.

The Docking pane im talking is in the position of the Solution Explorer one from the sample. So when it is resized, the dialog move to the top of the docking pane leaving a great blank space at the end of the dialog. There are any way to leave the static controls fixed at bottom, so when dockingpane resizes they dont go up? and anyway to make CTreeCtrl stretch down to fill the area?

Thnks,
Bruce




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