Jump to content

Make Whole GUI Draggable


Go to solution Solved by Melba23,

Recommended Posts

Good Day Everyone! :D

This is my first post after I have decided to register at forums, since I couldn't find answers to my question at help file.
The Help file has been really useful and is a real requirement to get started, but there are question I can not find answers for.

I have a GUI which I have decided to remove the borders, so it's left with just the inner GUI and with it's own close button, everything is good, but now there is no way of moving the Window (since the Title bar is hidden along with the borders).

Is there any quick way of enabling my GUI to move on drag anywhere that is empty? Or at least a drag Area? Where I can drag the window to move the window? Like, instead of moving the window by dragging titlebar, move by dragging any empty space in the GUI.

I have seen other programs being able to do such, is it possible in autoit? or within KODA Form Designer?

Thank you so much in advance, I look forward and I hope this post will merit a reply from it's great forum members.

Thanks!
Jomar

Link to comment
Share on other sites

  • Moderators
  • Solution

JomarSevillejo,

Welcome to the AutoIt forum. :)

The Moving and Resizing PopUp GUIs tutorial in the Wiki shows a number of ways to drag (and even resize) borderless GUIs. One of them should solve your problem. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

JomarSevillejo,

Welcome to the AutoIt forum. :)

The Moving and Resizing PopUp GUIs tutorial in the Wiki shows a number of ways to drag (and even resize) borderless GUIs. One of them should solve your problem. ;)

M23

Woah! That was fast?

4 Minutes after posting thanks! :D

I will check on it, though I have seen it before but didn't think it was the right one I was looking for.

but since someone actually pointed me to it then I will dig deep on to it.

Thanks! :D

I will mark as Solved once I've found the answer.

EDIT:

Thanks for welcoming me here btw.

Edited by JomarSevillejo
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...