Drag forms around with no form border

BrettW

Freshman
Joined
Nov 12, 2009
Messages
35
I have a program that uses a picture for the bar at the top of the window.

(FormBorderStyle = None)

I want to know how to make it so you can move the window around?:confused:
 
There are two ways you could do this. This first is to handle the MouseDown/Move/Up events and react to those. This is method is pretty simple.

You can also skin the border "the right way", which is much more work but makes your skinned title bar/border 100% in tune with standard Windows behavior.
 
Back
Top