CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    7

    Getting "real" client-area of a FrameWnd

    Hi!

    I'm trying to get the size of the "real" client-area of the Framewindow of my MDI-application. That means the rectangle excluding all toolbars, statusbars and the menu.

    I would be very pleased if somebody could help me

    Regards

    C. Sonntag




  2. #2
    Join Date
    May 1999
    Posts
    2

    Re: Getting "real" client-area of a FrameWnd

    Try GetClientRect()


  3. #3
    Join Date
    May 1999
    Posts
    7

    Re: Getting "real" client-area of a FrameWnd

    I'm using GetClientRect(), but that's the client rect only excluding the menu, but not toolbars or statusbars, I'm looking for a way to get the size of the rect where MDI-child-windows can appear independent of the docking status of the toolbars or statusbar.
    The function SetWindowPos(...) uses this rect, but I don't know how to get the size of the rect


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured