How to Disable Powershell Form from dragging RRS feed

  • Question

  • Hi 

    I have a powershell form which I need to keep always in the computer screen so that user should click either click "OK"  or cancel.I have seen people keeps the window on a far most side of the screen and continue their work. Do we have any way to make it static at the center of the screen always. I have tried disabling controls in the window but still user can drag the window


    • Moved by Bill_Stewart Wednesday, September 13, 2017 9:36 PM Unanswerable drive-by question
    Thursday, August 3, 2017 6:21 AM

All replies

  • You would have to capture an event and set the form to have no border.  No border - no drag.


    Thursday, August 3, 2017 7:17 AM