Jump to content

Attach GUI to Program


VVDOOM
 Share

Recommended Posts

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

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.

Link to comment
Share on other sites

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

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"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...