Sign in to follow this  
Followers 0
xroot

Return Handles

4 posts in this topic

The SplashTextOn function has a Return Value.

It Returns the Handle of the splash window.

Also, Various functions such as WinGetHandle, WinList

and GUICreate return these handles.

Can someone tell me why GUISetBkColor does

not work with SplashTextOn function like below.

$WH=SplashTextOn("TitleFoo", "Message Here", -1, -1, -1, -1, 4, "")

GUISetBkColor ( 0xFFFF00, $WH)

Thanks for any info or work around.

Share this post


Link to post
Share on other sites



Try this:

$WH=SplashTextOn("TitleFoo", "Message Here", -1, -1, -1, -1, 4, "")
GUISetBkColor ( 0xFFFF00, Hwnd($WH))

I've had a similar problem before with a handle returned by GUICreate() and it was fixed using HWnd(). Sorry I can't test it, but I don't have AutoIt.

Share this post


Link to post
Share on other sites

Thanks, nothing seems to work.

I even tried HWnd(String($WH)).

O' Well......

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