Jump to content

Recommended Posts

Posted

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.

Posted

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.

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
×
×
  • Create New...