Maxmax14
Joined: 30 Mar 2008 Posts: 23 Location: France 14
|
Posted: Sun Mar 30, 2008 5:29 pm Post subject: Resizing 2 windows (listview, treeview..) in GUI by dragging |
|
|
Hello,
Can anyone show me exemple to resize 2 windows side by side in a gui.
From exemple below : when mouse is between Treeview and Listview I would like that cursor change to Harrow rigth/left and we can change both sizes with left mouse button by dragging. I would like to be able to do it vertical or horizontal depending how are the 2 windows
Thanks a lot for help I did'nt find such exemple in the forum.
Maxmax14
| Code: |
ScriptName = MachinesData 1.1
Title = MachinesData
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Event ; Recommended for new scripts due to its superior speed and reliability.
#SingleInstance ignore
SetControlDelay, -1
AutoTrim, Off
Gui, +Resize
Gui, Add, TreeView, Section x10 vTV2 w330 h175 -ReadOnly AltSubmit ImageList%ImageListID%
Gui, Add, ListView, vLV2 xs+335 ys w180 h175 -ReadOnly AltSubmit , Value
Gui, Add, StatusBar
GuiControl, Focus, Static1
Gui, Show, , %title%
Gui, +LastFound
Return
Guiclose:
Exitapp
|
|
|