Hello everyone,
Wanted my third post to be for the CodeBank, but this minor problem is bugging me. I need help tweaking this code which I use to resize a bordeless form. The code for resizing creates a border which I would like to fill in with the same color as the body of my form. I hope it's possible. Could someone help?
Wanted my third post to be for the CodeBank, but this minor problem is bugging me. I need help tweaking this code which I use to resize a bordeless form. The code for resizing creates a border which I would like to fill in with the same color as the body of my form. I hope it's possible. Could someone help?
Code:
Protected Overrides ReadOnly Property CreateParams As System.Windows.Forms.CreateParams
Get
Dim CP As CreateParams = MyBase.CreateParams
CP.Style = CP.Style Or &H40000
Return CP
End Get
End Property