Jump to content
Sign in to follow this  
Unc3nZureD

Transparent pic as BG

Recommended Posts

Unc3nZureD

Hi guys,

Currently I would like to make a script which has a picture as background with some trasparency. Ok, it wouldn't be even problem since I can use this little snippet:

$hForm = GUICreate('', 64, 64, @DesktopWidth/2 - 250 , @DesktopHeight/2 - 104, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_TOOLWINDOW, $WS_EX_TOPMOST))
$hwBmp = _Icons_Bitmap_Load(@ScriptDir & 'Logo.png')
GUISetState()
_SetBitmap($hForm, $hwBmp, 230)

But I would like to place some different picture (non-transparent) and a progressbar too at the GUI. If I simple create it afther the GUICreate, it does nothing. Any Idea which function could I use?

Edited by Unc3nZureD

Share this post


Link to post
Share on other sites
techted89

You may want to look here-

trancexx has a good udf for handeling tranparent images of all types... may be of some use for your script

Edited by techted89

Share this post


Link to post
Share on other sites
UEZ

Use a child gui additionally.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×