num1g8rfan Posted March 13, 2008 Share Posted March 13, 2008 This sure seems simple, but I've never had to do it before. I have created a GUI with a listview in it, etc. The size of the listview can vary based upon its contents. I need to have the ability to resize the main GUI that hosts the listview. Is there a quick and easy way to do this? Link to comment Share on other sites More sharing options...
Monamo Posted March 13, 2008 Share Posted March 13, 2008 This sure seems simple, but I've never had to do it before. I have created a GUI with a listview in it, etc. The size of the listview can vary based upon its contents. I need to have the ability to resize the main GUI that hosts the listview. Is there a quick and easy way to do this? You can use WinGetPos() to grab the existing values for the GUI location, height and width.Then follow up with a WinMove(), which will allow you to resize it. And just an extra note from the helpfile on WinMove():If x and y equal to the Default keyword no move occurs, just resizing. - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Link to comment Share on other sites More sharing options...
num1g8rfan Posted March 13, 2008 Author Share Posted March 13, 2008 Worked like a charm! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now