Sign in to follow this  
Followers 0
Nova

Non-moveable Gui window

4 posts in this topic

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

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

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

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  
Followers 0