Quantcast
Viewing all articles
Browse latest Browse all 27207

Need help tweaking resizable custom form code.

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
Image may be NSFW.
Clik here to view.
 

Viewing all articles
Browse latest Browse all 27207

Trending Articles



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