Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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:

  • Leaders
Posted

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.

[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...