Re: Effective CMainFrame client area
From: Scott McPhillips [MVP] (org-dot-mvps-at-scottmcp)
Date: 02/07/05
- Next message: Scott McPhillips [MVP]: "Re: Command Line Interface"
- Previous message: Arman Sahakyan: "RE: Incorporating AVI files in VC++ application"
- In reply to: LarryM: "Re: Effective CMainFrame client area"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 07 Feb 2005 07:57:02 -0500
LarryM wrote:
> Hi,
>
> Would anyone know how to determine the effective client area
> for CMainFrame after taking into consideration the area occupied
> by dockable controls such as tool and status bars.
>
> LarryM
> Ivyware Pty Ltd http://www.ivyware.com.au
>
This should be just what you need.
// Query MFC to compute remaining space in window.
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST,
0, CWnd::reposQuery, &m_rect);
-- Scott McPhillips [VC++ MVP]
- Next message: Scott McPhillips [MVP]: "Re: Command Line Interface"
- Previous message: Arman Sahakyan: "RE: Incorporating AVI files in VC++ application"
- In reply to: LarryM: "Re: Effective CMainFrame client area"
- Messages sorted by: [ date ] [ thread ]