Get MDI client area NOT used by panes |
Post Reply |
Author | |
DPDP
Newbie Joined: 25 August 2005 Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 27 September 2005 at 6:31pm |
Is there a function call or an easy way to get the client area size (CRect) which is not used by panes in the MDIFrame window? I have a bunch of panes and a few MDI child frame windows, and want to find the area used by MDI child frame windows only. Thanks
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
In MSDn see CWnd::RepositionBars + CWnd::reposQuery or use client area of m_hWndMDIClient window. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
DPDP
Newbie Joined: 25 August 2005 Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Thanks, call CXTPDockingPaneManager::RecalcFramesLayout method first, and use m_hWndMDIClient to construct a CWnd, then call CWnd::GetClientRect().
|
|
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 |