xroot Posted March 30, 2008 Share 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. Link to comment Share on other sites More sharing options...
Nahuel Posted March 31, 2008 Share 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. Link to comment Share on other sites More sharing options...
xroot Posted March 31, 2008 Author Share Posted March 31, 2008 Thanks, nothing seems to work. I even tried HWnd(String($WH)). O' Well...... Link to comment Share on other sites More sharing options...
Zedna Posted March 31, 2008 Share Posted March 31, 2008 I think GUISetBkColor() works only with windows created by GUICreate(). Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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