Jump to content
Sign in to follow this  

Icon control background transparency

Recommended Posts


Hi All!

I try to set background transparency for an icon control on the Tab control, but unsuccessful :P Maybe someone already did this?

Posted Image

#include <GuiConstantsEx.au3>
#include <WindowsConstants.au3>

$hGUI = GUICreate("Test", 200, 100)

GUICtrlCreateTab(10, 10, 180, 80)


$icon = GUICtrlCreateIcon("shell32.dll", -23, 80, 43)



Until GUIGetMsg() = -3
Edited by rasim

Share this post

Link to post
Share on other sites


On my WINXP with XP theme off and standard color settings I got this result:

so it seems to be OK

I know about this. :P

Maybe try it without TabItem first if it's Tab control related or if it's global icon problem.

No, need solution with Tab. :(

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