Print Page | Close Window

Get MDI client area NOT used by 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=2952
Printed Date: 12 December 2024 at 3:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get MDI client area NOT used by panes
Posted By: DPDP
Subject: Get MDI client area NOT used by panes
Date 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



Replies:
Posted By: Oleg
Date Posted: 27 September 2005 at 11:56pm

In MSDn see

CWnd::RepositionBars + CWnd::reposQuery

or

use client area of m_hWndMDIClient  window.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: DPDP
Date Posted: 30 September 2005 at 1:08pm
Thanks, call CXTPDockingPaneManager::RecalcFramesLayout method first, and use m_hWndMDIClient to construct a CWnd, then call CWnd::GetClientRect().



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