Jump to content
Sign in to follow this  
VVDOOM

Attach GUI to Program

Recommended Posts

VVDOOM

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..

Share this post


Link to post
Share on other sites
Kip

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.

Share this post


Link to post
Share on other sites
seandisanti

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

Share this post


Link to post
Share on other sites
playlet

---

Edited by playlet

Share this post


Link to post
Share on other sites
VVDOOM

Look at this: #714325

Playlet

Thanks 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"

Share this post


Link to post
Share on other sites
playlet

---

Edited by playlet

Share this post


Link to post
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
Sign in to follow this  

×