VVDOOM Posted August 9, 2010 Share Posted August 9, 2010 I have a persistent gui I have created. I have buttons that do tasks/functions that I have defined. I would like to attach this gui to a program window. I know it can be done as I did it about 6-8 years ago, but that was a long time ago and I don't have any code from back then. I remember my gui was attached to a program and it moved as i moved the program box around on my screen. My gui stayed attached to the left side of the program. If anyone could help with a script/function/etc to achieve this I would be VERY Grateful. THANKS IN ADVANCE for any help.. Link to comment Share on other sites More sharing options...
Kip Posted August 9, 2010 Share Posted August 9, 2010 I have a persistent gui I have created. I have buttons that do tasks/functions that I have defined. I would like to attach this gui to a program window. I know it can be done as I did it about 6-8 years ago, but that was a long time ago and I don't have any code from back then.I remember my gui was attached to a program and it moved as i moved the program box around on my screen. My gui stayed attached to the left side of the program. If anyone could help with a script/function/etc to achieve this I would be VERY Grateful. THANKS IN ADVANCE for any help..This is your first post, so you had created that script all by yourself. (Or you're creating multiple accounts)I don't see why you can't do it on your own now. Unless you didn't do anything back then, and you're now asking us to do it for you.I've got to say: I like your approach. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
seandisanti Posted August 10, 2010 Share Posted August 10, 2010 I have a persistent gui I have created. I have buttons that do tasks/functions that I have defined. I would like to attach this gui to a program window. I know it can be done as I did it about 6-8 years ago, but that was a long time ago and I don't have any code from back then.I remember my gui was attached to a program and it moved as i moved the program box around on my screen. My gui stayed attached to the left side of the program. If anyone could help with a script/function/etc to achieve this I would be VERY Grateful. THANKS IN ADVANCE for any help..check out wingetpos() and winmove() those should accomplish your goal relatively easily Link to comment Share on other sites More sharing options...
playlet Posted August 11, 2010 Share Posted August 11, 2010 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
VVDOOM Posted August 12, 2010 Author Share Posted August 12, 2010 Look at this: #714325PlayletThanks Playlet. This looks good. I replaced the two lines below with the third. When I move Test2 it will move my browser, however when I move the browser Test2 does not move. Any suggestions?; $hGUI1 = GUICreate ("Test1", 150, 100, -1, -1); GUISetState()$hGUI1 = " - Mozilla Firefox" Link to comment Share on other sites More sharing options...
playlet Posted August 13, 2010 Share Posted August 13, 2010 (edited) --- Edited August 18, 2016 by playlet 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