Pakku Posted June 2, 2006 Posted June 2, 2006 hi, this is my code #include "GUIConstants.au3" $obj = ObjCreate("Gif89.Gif89.1") GUICreate("", 298, 369,-1,-1, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) GUICtrlCreateObj( $obj, 0, 0 , 298 , 369 ) GUISetState($GUI_HIDE) With $obj .filename = "meneer-1.gif" .autostart EndWith While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect Wend the problem is that i want to make the gui invisible but the gif file has to stay visible. so that it looks like that there is a real man ("meneer" in dutch) on the screen. i hope i made myself clear, if there are some questions, just ask. Arjan How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me
GaryFrost Posted June 2, 2006 Posted June 2, 2006 might want to look at http://www.autoitscript.com/forum/index.ph...ndpost&p=132354takes a bitmap though SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Valuater Posted June 2, 2006 Posted June 2, 2006 (edited) might want to look at http://www.autoitscript.com/forum/index.ph...ndpost&p=132354 takes a bitmap though that requires a bitmap .... also maybe this need to replace with your gif opt("GUIONEVENTMODE",1) #include <GUIConstants.au3> ;GUI GUICreate("title", 300,300,30,30,$WS_POPUP,$WS_EX_LAYERED) $B = GUICtrlCreateButton("TEST",100,100.50,50,-1,0x00000020) GuiCtrlSetOnEvent($B,"hello") $n = GUICtrlCreatePic("C:\Temp\Background1.gif",0,0,300,300,-1,0x00000020) GUISetState(@SW_SHOW) GuiCtrlSetState($B,$GUI_FOCUS) GUISetOnEvent($GUI_EVENT_CLOSE,"_Exit") while 1 Wend func _exit() Exit EndFunc Func Hello() MsgBox(0,"hello","hello") EndFunc 8) Edited June 2, 2006 by Valuater
Pakku Posted June 2, 2006 Author Posted June 2, 2006 @Valuater thanks it worked fine! @gafrost i will look at it sometime but the one of Valuater worked for this script, maybe i will use your answer for an orter script of me. Arjan How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me
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