Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5972641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:41:12+00:00 2026-05-22T20:41:12+00:00

i have just designed a business information dashboard for the customer. The initial design

  • 0

i have just designed a business information dashboard for the customer. The initial design was for a 1280×1024 screen res but it now appears that the customer has a 1024 x 768 res. This BI form is a child window of a MDI interface and as such there is a header and statusbar which means if the application is fullsized then it is occupying 1024/768 – the windows taskbar and my form has this available size minus the size of the header and statusbar of the MDI application. I can deal with this but i want to make the application customised specifically for the size of screen most frequently used which it happens is his.

Does anyone know of any places within the registry or any tools etc which can tell me the size of the window/form as it is being viewed?

Cheers
tim

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:41:13+00:00Added an answer on May 22, 2026 at 8:41 pm

    I’ve not done any MDI stuff, but from a quick playaround I believe this might help. I put the below into a child form.

    label1.Text = this.Parent.ClientRectangle.Width.ToString() + "x" + this.Parent.ClientRectangle.Height.ToString();
    

    It seemed to return the inner size of the MDI parent. As I added more toolstrips and a status strip the height reduced.

    Hope this helps.

    EDIT:
    Strange, this doesn’t seem to bring back the parent form name (hmm a puzzle).:

    label1.Text = this.Parent.Name;
    

    EDIT 2:
    but this does (note the 2nd Parent – now I’m confused):

    label1.Text = this.Parent.Parent.Name;
    

    EDIT 3:
    Ok, after a couple more tests…

    1. this.Parent.ClientRectangle  //this seems to be the size in the MDI form - NOT including toolbars/statusstrips/menustrips etc.
    
    2. this.Parent.Parent.ClientRectangle  //Having TWO parents seems to be the main MDI size - no matter how many strips added in this seems to return the size - not including the window titlebar.
    

    Apologies for the edits.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started web development.I want to make a screen to do basic
I just designed a portfolio website. I have a whole array of images that
Maybe I have just designed this incorrectly, and if so I am more than
I have just set up a completely new Symfony 1.4 project and designed the
I have just started self-studying the Dragon book of Compiler Design. I am working
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have just started playing with ASP.NET MVC and have stumbled over the following situation.
I have just inherited a server application, however it seems that the only copy
I have just installed C# for the first time, and at first glance it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.