Print Page | Close Window

group margins

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=5893
Printed Date: 07 May 2024 at 3:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: group margins
Posted By: playertwo
Subject: group margins
Date Posted: 22 December 2006 at 11:59am
I have a Task Panel using the toolbox style. I have added a tree control as a control item to a task panel group. This works fine except that I want the tree control to take up the entire group area. As it is now, there are margins around the tree control, and, while the width of the tree control is always stretched to take up most of the group space, the height remains fixed at whatever I create. How can I make the tree control (or any control) take up the entire group area?



Replies:
Posted By: Oleg
Date Posted: 22 December 2006 at 3:07pm
Hi, you have to set bAutoHeight to true for item:
 
CXTPTaskPanelGroupItem::SetSize(CSize szItem, BOOL bAutoHeight)

 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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