Jump to content

Set window title by handle?


Recommended Posts

Hello!

When I create several GUIs:

Global $gui1 = GUICreate("gui1", 100, 100, 10, 10)

Global $gui2 = GUICreate("gui2", 100, 100, 110, 110)

Global $gui3 = GUICreate("gui3", 100, 100, 210, 210)

... how can I change the window title by handle?

When I change a window title with WinSetTitle() I always

have to keep in mind the new windows title name.

I'm looking for something like "GUISetTitle($gui1, "New Title")".

Anybody any idea?

Greets,

-supersonic.

Edited by supersonic
Link to comment
Share on other sites

Hello!

When I create several GUIs:

Global $gui1 = GUICreate("gui1", 100, 100, 10, 10)

Global $gui2 = GUICreate("gui2", 100, 100, 110, 110)

Global $gui3 = GUICreate("gui3", 100, 100, 210, 210)

... how can I change the window title by handle?

When I change a window title with WinSetTitle() I always

have to keep in mind the new windows title name.

I'm looking for something like "GUISetTitle($gui1, "New Title")".

Anybody any idea?

Greets,

-supersonic.

WinSetTitle($gui1, "", "New Title")
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...