Sign in to follow this  
Followers 0
supersonic

Set window title by handle?

3 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
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")

Share this post


Link to post
Share on other sites

I can't believe it! :) It's really that simple. Thank you!

WinSetTitle($gui1, "", "New Title")

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  
Followers 0