Jump to content

Icon control background transparency


rasim
 Share

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)

GUICtrlCreateTabItem("Tab1")

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

GUICtrlCreateTabItem("")

GUISetState()

Do
Until GUIGetMsg() = -3
Edited by rasim
Link to comment
Share on other sites

Zedna

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. :(
Link to comment
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
 Share

  • Recently Browsing   0 members

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