Jump to content

Recommended Posts

Posted

I've read through the forums and found many suggestions and helpful tips, but none seem to work for me. I want to have an GIF image appear on the screen. Transparent background, no window border/title.

Here's a script that I'm using that's pretty much an exact duplicate of many others I searched for in the forums:

#include <GUIConstants.au3>
GUICreate("",480, 114,-1,-1, $WS_POPUP,$WS_EX_LAYERED)
;GUICreate("",480, 114,-1,-1,$WS_POPUPWINDOW+$WS_EX_TOOLWINDOW+$WS_EX_TRANSPARENT,$WS_EX_LAYERED)  ; will create a dialog box that when displayed is centered

;GUISetBkColor (-1)

$n=GUICtrlCreatePic("\\192.168.100.100\c$\client\Logging_in2.gif", 480, 114, 0, 0, BitOR($SS_NOTIFY,$WS_GROUP))
GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
GUISetState ()
$n=GUICtrlSetPos($n,0,0,480,114)

sleep(4000)

Here's what it should look like:

Posted Image

But instead it looks like this:

Posted Image

Help?

Posted

are you useing windows vista??

Nope, Windows XP Pro

try this one

I don't see anything there Valuater, doesn't appear your attachment is there anymore. I tried my script again on another PC and I still get the tanish background to show up. In Internet explorer, viewing this forum I can see the graphic fine without the tan background so I know I've got he GIF setup right. Something just isn't right here.

Thoughts?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...