Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Sizing of panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sizing of panes

 Post Reply Post Reply
Author
Message
Wolfgang View Drop Down
Newbie
Newbie


Joined: 01 December 2003
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wolfgang Quote  Post ReplyReply Direct Link To This Post Topic: Sizing of panes
    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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.