xroot Posted March 30, 2008 Posted March 30, 2008 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.
Nahuel Posted March 31, 2008 Posted March 31, 2008 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.
xroot Posted March 31, 2008 Author Posted March 31, 2008 Thanks, nothing seems to work. I even tried HWnd(String($WH)). O' Well......
Zedna Posted March 31, 2008 Posted March 31, 2008 I think GUISetBkColor() works only with windows created by GUICreate(). Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now