Print Page | Close Window

Sizing of panes

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=1111
Printed Date: 18 May 2024 at 8:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sizing of panes
Posted By: Wolfgang
Subject: Sizing of panes
Date Posted: 27 August 2004 at 8:13am

Ok one question is still left to ask ;)

For my application I must collapse/expand panes to/from their title on button clicks.

So far i was able to size the Panes from CXTPDockingPaneTablbedContainer derived class with

CXTPDockingPanePaintManager* pPaintManager=CXTPDockingPaneBase::GetPaintManager();

m_szDocking.cy=max(m_szDocking.cy/2, pPaintManager->m_nTitleHeight);

AfxGetMainWnd()->SendMessage(WM_SIZE);

Somehow i think this is not a very slick solution, is there anotherway round?

Furthermore i would need to play back an anymation for this expanding/collapsing, could i use the AUtohide Animation routines for this?

thanks

Wolfgang




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