Form larger than the screen size

JumpyNET

Centurion
Joined
Apr 4, 2005
Messages
196
I would like to make my form larger than the screen size.

The form size seems to be limited by the size in SystemInformation.MaxWindowTrackSize. How can I make my form override this value or the MaximumSize property?
 
Solved

Didn't have the patience to wait, and finally found a solution myself:

Code:
    Private bigger_size As Size = New Size(2000, 2000)
    Public Overrides Property MaximumSize() As Size
        Get
            Return bigger_size
        End Get
        Set(ByVal value As Size)
            bigger_size = value
        End Set
    End Property

It is odd though that I can resize the window using the mouse, but "Me.Size = new Size(2000, 2000)" won't work.
 
Last edited:
Back
Top