AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Resizing 2 windows (listview, treeview..) in GUI by dragging

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Maxmax14



Joined: 30 Mar 2008
Posts: 23
Location: France 14

PostPosted: Sun Mar 30, 2008 5:29 pm    Post subject: Resizing 2 windows (listview, treeview..) in GUI by dragging Reply with quote

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
Back to top
View user's profile Send private message
Micahs



Joined: 01 Dec 2006
Posts: 460

PostPosted: Tue Apr 01, 2008 9:06 pm    Post subject: Reply with quote

Is this what you are looking for?
http://www.autohotkey.com/forum/viewtopic.php?t=8746&highlight=splitter
_________________
Back to top
View user's profile Send private message
Maxmax14



Joined: 30 Mar 2008
Posts: 23
Location: France 14

PostPosted: Wed Apr 02, 2008 5:14 pm    Post subject: Splitter bar window control with AHk Reply with quote

Exactly what I was looking for; Thank's a lot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group