Print Page | Close Window

How to auto size groups

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=11883
Printed Date: 24 November 2024 at 4:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to auto size groups
Posted By: mgampi
Subject: How to auto size groups
Date Posted: 19 August 2008 at 5:53am
Hello;

I want the last group of the task panel to occupy the remaining height of its parent window. So the client area of the last group should dynamically change its height, whenever the user resizes the task panel parent window.
How can I do this?

BTW: switching to xtpTaskPanelBehaviourToolbox does not help.

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

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



Replies:
Posted By: Oleg
Date Posted: 19 August 2008 at 3:54pm
Hi,
Think you can try create custom class for this group, override its
void CXTPTaskPanelGroup::OnCalcClientHeight(CDC* pDC, CRect rc)
and calculate size to fit whole client.


-------------
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