there is an easier way, where you change your formborderstyle back to the default formborderstyle, then use this code in your form_load event, which will give your form the look of no borders with the functionality of a form with default formborderstyle:
vb Code:
Dim gp As New Drawing.Drawing2D.GraphicsPath Dim r As Rectangle = Me.ClientRectangle r.Offset(0, SystemInformation.CaptionHeight + 2) gp.AddRectangle(r) Me.Region = New Region(gp)




Reply With Quote