Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Get MDI client area NOT used by panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Get MDI client area NOT used by panes

 Post Reply Post Reply
Author
Message Reverse Sort Order
DPDP View Drop Down
Newbie
Newbie


Joined: 25 August 2005
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote DPDP Quote  Post ReplyReply Direct Link To This Post Topic: Get MDI client area NOT used by panes
    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().
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DPDP View Drop Down
Newbie
Newbie


Joined: 25 August 2005
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote DPDP Quote  Post ReplyReply Direct Link To This Post 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
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.125 seconds.