Sign in to follow this  
Followers 0
Info

Making a label clickable and making the GUI undragable...

2 posts in this topic

For the clickable label,

I mean like the labels in the Favorites setion in IE...

And the other question is how can I make the GUI undragable?

Thanks :)

Share this post


Link to post
Share on other sites



And the other question is how can I make the GUI undragable?

From the forum:

#include <GUIConstants.au3>

Const $WM_SYSCOMMAND = 0x0112
Const $SC_MOVE = 0xF010

$gui = GUICreate("", 300, 200)
GUISetState(@SW_SHOW)
GUIRegisterMsg($WM_SYSCOMMAND, "On_WM_SYSCOMMAND")

While GUIGetMsg() <> $GUI_EVENT_CLOSE
WEnd

Func On_WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam)
    If BitAND($wParam, 0xFFF0) = $SC_MOVE Then Return
EndFunc

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