anixon Posted August 4, 2008 Share Posted August 4, 2008 In this code example is it possible to change the color of the variable $message (RUNNING) and have it display in any color of choice - Green for Example: CODEGlobal $Title = "My Message Box" _MessageAndLog(2000, 250,50, "RUNNING") Func _MessageAndLog($delay,$width, $height, $Message) SplashTextOn($Title, $message, $Width, $Height, -1, -1, 32, "times new roman", 10, 600) ;//Length of display in milliseconds Sleep($Delay) SplashOff() EndFunc Assistance is always appreciated. Ant.. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted August 4, 2008 Share Posted August 4, 2008 Nope, you have to create your own gui to do that. Open the helpfile and check the example for GUICtrlSetColor() and you should get the idea .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
anixon Posted August 4, 2008 Author Share Posted August 4, 2008 Nope, you have to create your own gui to do that. Open the helpfile and check the example for GUICtrlSetColor() and you should get the idea Was trying to avoid a GUI like this example I use to control color GUICreate($Title, 385, 340, -1, -1) GUISetBkColor(0xE0FFFF) GUISetState() Will probably have to live with what I have coded in the meantime. [Well until I get the time to change what I have already coded]. Thanks for your help Ant.. 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