How to auto size groups |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
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 |