Enable Dragging on borderless form

Discussion in 'C#' started by Umairajmal, Nov 4, 2012.

  1. Umairajmal

    Umairajmal New Member

    Joined:
    Dec 12, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Hazro,Pakistan
    Home Page:
    http://www.facebook.com/m.umairajmal
    Hi guys,
    I am making an application. In which i set the border property of a form equals to none.
    By doing so i am facing a problem that is i can't drag that form.
    So i need help to solve this problem.
    Thanks in advanced.
    Regards,
    Umair Ajmal.
     
  2. Umairajmal

    Umairajmal New Member

    Joined:
    Dec 12, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Hazro,Pakistan
    Home Page:
    http://www.facebook.com/m.umairajmal
    Sorry guys i forget to mention the language i am using.
    I am working in c#.
    So please help me.
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    You have to be tracking the MouseDown event and then do the form move with the mouse yourself.
     
    Umairajmal likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice