When using the Form's ClientSize property I already know that it does not include the MainMenu (if there is one) but what about the status bar?
I have a form with a MainMenu (at the top) and a StatusBar (at the bottom) and I have menu items representing screen resolution sizes. When the user selects a resolution size (let's say 800x600) I have the form re-sizing itself so the inside of the form (ClientSize) is now at 800x600 and I need to make sure it does not include any menus or the statusbar
I read the MSDN topic on Form's ClientSize but it does not state whether statusbars are included, my tests of this shows that a statusbar is included in the ClientSize in which I will need to code around this so the statusbar is not included.
Any ideas?
I have a form with a MainMenu (at the top) and a StatusBar (at the bottom) and I have menu items representing screen resolution sizes. When the user selects a resolution size (let's say 800x600) I have the form re-sizing itself so the inside of the form (ClientSize) is now at 800x600 and I need to make sure it does not include any menus or the statusbar
I read the MSDN topic on Form's ClientSize but it does not state whether statusbars are included, my tests of this shows that a statusbar is included in the ClientSize in which I will need to code around this so the statusbar is not included.
Any ideas?