Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27513

Need help tweaking resizable custom form code.

$
0
0
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?

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

Attached Images
 

Viewing all articles
Browse latest Browse all 27513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>