win forms RRS feed

  • Question

  • hi,

    i want to create a form with no borders. in this case the - if i set the border to "none" on the properties window - the form is no longer moveable on the desktop but how can i create a form without borders that i can move?
    Monday, November 14, 2005 2:17 PM

All replies

  • you will have to program the form to "move" yourself using the mouse over and mouse move events when you set the borders to none...
    Monday, November 14, 2005 2:40 PM
  • You can catch the MouseDown, MouseMove and MouseUp events to move your form.
    Know when the mouse button is down (between MouseDown and MouseUp events) and move your form with relative data that you get from MouseMove event.
    Monday, November 14, 2005 2:41 PM