[RESOLVED] how do I Custom draw a border around my form?
I set my FormBorderStyle of my form to none.
This is exactly what i want, except I ran into a problem.
When the background is gray (background of other applications running in the background), my form tends to fade in with the background (Still active, but i cant see where my form starts or ends).
I want to rosolve this by drawing a Thin (2px) blue line around my form.
How do i do this?
Re: how do I Custom draw a border around my form?
you can draw an rectangle in the paint event of the form as
vb Code:
Dim p As New Pen(Color.Red, 2)
e.Graphics.DrawRectangle(p, 0, 0, Me.Width - 1, Me.Height - 1)