This simple gui can be resized when clicking and dragging on any edge:
Code: Select all
F2:: Gui, Tr: +Resize +LastFound +AlwaysOnTop -Caption +ToolWindow +E0x20 Gui, Tr: Add, Picture, x0 y0 w550 h500, Testpic.png ; An image which has transparent background Gui, Tr: Show, x0 y0 w550 h500 NA, TestGui ; Shows gui with unique name, without activating it return
With a mouse or touchpad it's no problem.
Is there a way to have some kind of tolerance?
Let's say if I touch up to 10 pixels away from the edge, the gui should be resized as well.
Of course I would always have to touch INSIDE of the gui, that's logical.
Right now, I have no concrete idea how/if this can be realized.
Thanks for any help and best regards