Jump to content
Sign in to follow this  
Nova

Non-moveable Gui window

Recommended Posts

Nova

Can you make a Gui window non movable ?.

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

Share this post


Link to post
Share on other sites
jpm

Can you make a Gui window non movable ?.

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

<{POST_SNAPBACK}>

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:

Share this post


Link to post
Share on other sites
jpm

A window Without a caption is Difficult to move...

Lar.

<{POST_SNAPBACK}>

Good one Larry,

Happy New year/christmas :idiot:

Share this post


Link to post
Share on other sites
Coffee

LockWindowUpdate....

...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)

Share this post


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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.