Nova Posted October 20, 2004 Share Posted October 20, 2004 Hey I woz just wondering if there is anyway to display an image with a certain percentage of transparency ? Is there anyway of adding this feature to SplashImageOn ? So if you wanted 20 percent transparency, something like this ! SplashImageOn ( "title", "file" , width , height , x pos , y pos , opt ,trans 20 ) Link to comment Share on other sites More sharing options...
this-is-me Posted October 20, 2004 Share Posted October 20, 2004 You need to look at winsettrans. Who else would I be? Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 20, 2004 Share Posted October 20, 2004 You need to look at winsettrans.<{POST_SNAPBACK}>What version would that be in?JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
this-is-me Posted October 20, 2004 Share Posted October 20, 2004 103 I think. Possibly sooner. Who else would I be? Link to comment Share on other sites More sharing options...
Nova Posted October 21, 2004 Author Share Posted October 21, 2004 (edited) I have version v3.0.101How the do I update I dont see a download link anywhere on the site ?Edeit:Woops just found the link http://www.autoitscript.com/autoit3/files/unstable/autoit/ Edited October 21, 2004 by nova Link to comment Share on other sites More sharing options...
Nova Posted October 21, 2004 Author Share Posted October 21, 2004 I have just realised that SplashImageOn is very limited. You can only have 1 image displayed on screen using SplashImageOn ! In order to display a second image the first muct be undisplayed ! Why is this ? and is there any chance that SplashImageOn can be altered to allow more that 1 image to be displayed on screen at once ? Link to comment Share on other sites More sharing options...
this-is-me Posted October 21, 2004 Share Posted October 21, 2004 Try the gui. Who else would I be? Link to comment Share on other sites More sharing options...
CyberSlug Posted October 21, 2004 Share Posted October 21, 2004 1) Goto this post and get the code for the function _GetImageSize2) Add the following code below:$file = "C:\Windows\Prairie Wind.bmp" Global $WS_POPUP = 0x80000000, $WS_CAPTION = 0x00C00000, $WS_SYSMENU = 0x00080000 Global $WS_BORDER = 0x800000, $WS_DLGFRAME = 0x400000 $aSize = _GetImageSize($file) If @error Then MsgBox(4096,"","Error...") Exit EndIf GuiCreate("Example One", $aSize[0], $aSize[1], 10, 10, 0) GuiCtrlCreatePic($file, 0, 0, $aSize[0], $aSize[1]) GuiSetState() GuiCreate("Example Two", $aSize[0], $aSize[1], 300, 300, $WS_POPUP) GuiCtrlCreatePic($file, 0, 0, $aSize[0], $aSize[1]) GuiSetState() Sleep(5000);show for 5 seconds... Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Nova Posted October 21, 2004 Author Share Posted October 21, 2004 (edited) Tnx CyberSlug nice example bit over my head at this moment in time seeing as Ive just updated to .103 and have never tryed any GUI creation before that was to be expected. The current GUI commands at first glance dont appear to be all that userfriendly for lack of a better word. I feel a bit out of my dept ! But im sure that as with all things, over time it shall become clearer. Tnx for the push in the right direction Edited October 21, 2004 by nova Link to comment Share on other sites More sharing options...
jpm Posted October 21, 2004 Share Posted October 21, 2004 Tnx CyberSlug nice example bit over my head at this moment in time seeing as Ive just updated to .103 and have never tryed any GUI creation before that was to be expected.The current GUI commands at first glance dont appear to be all that userfriendly for lack of a better word. I feel a bit out of my dept !But im sure that as with all things, over time it shall become clearer.Tnx for the push in the right direction <{POST_SNAPBACK}>Unless you propose something everybody like better the syntax of the Gui functions have a very probability to change.Just propose the way you think Gui functions should be. 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