Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / April 2005

Tip: Looking for answers? Try searching our database.

making forms larger than screen size

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zaher Zeidan - 02 Apr 2005 05:13 GMT
is there a way to resize a form so that it's bigger than the screen size of the windows??
I mean if you run your windows with 780x1024 resolution you won't be able to set your height or width to any thing larger than this..
this is really stupid from the IDE to prevent developers from resizing the form larger than the screen area since this would enable you to get a lot of space in design time and/or using scroll bars to put lot of controls in one window..

Old Visual Studio didn't have this limitation..

anyone knows a workaround for this???
Rodger Constandse - 02 Apr 2005 07:22 GMT
You can set the size of the form using the Size property in the Properties
window. I just tried it and it allows you to set the size larger than the IDE
window.

--
Rodger Constandse

<http://www.SequenceDiagramEditor.com>
Sequence Diagram Editor - A quick and easy way to draw and edit sequence diagrams

> (Type your message here)
>
[quoted text clipped - 13 lines]
>
> <Id>/ORUU75l20+l5QvA6bsPPg==</Id>
Herfried K. Wagner [MVP] - 02 Apr 2005 12:33 GMT
"Rodger Constandse" <rodgercngNOSPAM@effexis.com> schrieb:
> You can set the size of the form using the Size property in the Properties
> window. I just tried it and it allows you to set the size larger than the
> IDE window.

Forms cannot be larger than the screen.  When entering a value greater than
the form's size it will be reset.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>

Stoitcho Goutsev \(100\) [C# MVP] - 02 Apr 2005 18:51 GMT
There is no OS limitations.
The size of the form is corrected inside the Form's SetBoundsCore virtual
portected method. I've been told that this problem had been fixed for .NET
2.0.

Signature

Stoitcho Goutsev (100) [C# MVP]

> "Rodger Constandse" <rodgercngNOSPAM@effexis.com> schrieb:
>> You can set the size of the form using the Size property in the
[quoted text clipped - 3 lines]
> Forms cannot be larger than the screen.  When entering a value greater
> than the form's size it will be reset.
Herfried K. Wagner [MVP] - 02 Apr 2005 19:34 GMT
"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> schrieb:
> There is no OS limitations.
> The size of the form is corrected inside the Form's SetBoundsCore virtual
> portected method. I've been told that this problem had been fixed for .NET
> 2.0.

Mhm...  But why does this limitation apply to other applications (Notepad,
Internet Explorer, Visual Studio .NET, ...) too?  The limitation still
exists in VS 2005 February CTP.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>

Chris Dunaway - 04 Apr 2005 14:35 GMT
Do you know if VS2005 will support multiple monitor setups?  It would
be cool to put the form designer or code editor on one screen and the
toolbox, server explorer, etc. on the other.
Ajay Kalra - 04 Apr 2005 15:03 GMT
Hello Chris,

> Do you know if VS2005 will support multiple monitor setups?  It would
> be cool to put the form designer or code editor on one screen and the
> toolbox, server explorer, etc. on the other.

If I understand you correctly, I can do this now in VS2003(or VC6 for that
matter). Its not a feature of the application.

Signature

Ajay Kalra [MVP - VC++]
ajaykalra@yahoo.co

Chris Dunaway - 04 Apr 2005 21:24 GMT
I wasn't aware.  I'll have to try it.

thanks
Danny T - 04 Apr 2005 22:36 GMT
>> Do you know if VS2005 will support multiple monitor setups?  It would
>> be cool to put the form designer or code editor on one screen and the
>> toolbox, server explorer, etc. on the other.
>
> If I understand you correctly, I can do this now in VS2003(or VC6 for
> that matter). Its not a feature of the application.

Yep, it works. Shame you can't have code on one screen, and the
forms/controls designers on the other!

Signature

Danny

Ajay Kalra - 05 Apr 2005 02:58 GMT
Hello Danny,

> Yep, it works. Shame you can't have code on one screen, and the
> forms/controls designers on the other!

That actually is a very good idea. I never looked into that possibility.
Perhaps its already there.

Signature

Ajay Kalra [MVP - VC++]
ajaykalra@yahoo.com

Danny T - 05 Apr 2005 08:39 GMT
>> Yep, it works. Shame you can't have code on one screen, and the
>> forms/controls designers on the other!
>
> That actually is a very good idea. I never looked into that possibility.
> Perhaps its already there.

If it is, I can't find a way to do it. So I always have Property &
Solution Explorer on the second screen. It'd be nice to be able to see a
visual representation at the same time as code (how many times do you
Ctrl+Tab back and forth from code to design to check things!)

:-(

Signature

Danny

kevininstructor@state.or.us - 08 Apr 2005 18:27 GMT
Been working dual monitors in 2003 without any issues.

> Hello Chris,
>
[quoted text clipped - 4 lines]
> If I understand you correctly, I can do this now in VS2003(or VC6 for that
> matter). Its not a feature of the application.
Stoitcho Goutsev \(100\) [C# MVP] - 04 Apr 2005 23:41 GMT
There is no limitation in Notepad or any application. The tracking size is
limited by the OS, which means you cannot drag and resize a window bigger
than whatever
GetSystemMetrics for  SM_CXMAXTRACK and  SM_CYMAXTRACK returns. The last can
be controlled via processing WM_GETMINMAXINFO message.
Though, programmatically you can set any size you want. The size is limited
only by the datatype that windows API uses - 32 bit integer for WinNT
platforms and 16 bit integer for Win9x if I'm not mistaking.

> "Stoitcho Goutsev (100) [C# MVP]" <100@100.com> schrieb:
>> There is no OS limitations.
[quoted text clipped - 5 lines]
> Internet Explorer, Visual Studio .NET, ...) too?  The limitation still
> exists in VS 2005 February CTP.
Danny T - 05 Apr 2005 08:41 GMT
Stoitcho Goutsev (100) [C# MVP] wrote:

> Though, programmatically you can set any size you want. The size is limited
> only by the datatype that windows API uses - 32 bit integer for WinNT
> platforms and 16 bit integer for Win9x if I'm not mistaking.

Hey, it's a good job they've double the size of that integer - imagine
the panic we'd have had when our new monitors support > 32k pixel
resolutions!! ;-D
Jean-Piere REMY - 11 Apr 2005 13:17 GMT

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.