Jump to content

Non-moveable Gui window

Recommended Posts

Can you make a Gui window non movable ?.

I dont see this option in the help file, can someone point me to it ?


Use the $GUI_EVENT_MOUSEMOVE and reposition with ControlMove.

Nothing immediate in the Gui Functions.

If you just want to display something use Splash functions :idiot:

Link to post
Share on other sites


...A locked window cannot be moved.

releasing is another story and this is :idiot: anyway so don't use it now as is:

;for laughs only do not use no NULL is being passed back to hWndLock

$hwnd = WinGetHandle("Untitled - Notepad")
DLLCall("user32.dll", "long", "LockWindowUpdate", "hwnd", $hwnd)
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...