﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
282	Transparency issue with icon controls on tabs (revisited)	Ultima	Jpm	"This is actually an issue with AutoIt v3.2.12.0 RC4. The problem I'm noticing this time is that icon controls simply don't have transparent backgrounds on tab controls anymore (where as prior to RC4, it was that the transparency stopped working in specific situations as mentioned [http://www.autoitscript.com/forum/index.php?showtopic=70659 here]). The problem might not be noticable depending on the Windows theme being used, but I tested on XP Luna. The main point is that the icon seems to be inheriting its background color for the transparent sections from the window background color instead of the tab control.

Here's the test script (slightly modified from the linked thread so that moving is optional -- simply there for testing regression again):
{{{
Global $winWidth = 256, $winHeight = 256

Global $hGUI = GUICreate(@AutoItVersion, $winWidth, $winHeight, 0)
GUICtrlCreateTab(5, 5, $winWidth - 10, $winHeight - 10)
GUICtrlCreateTabItem(""Tab"")
GUICtrlCreateIcon(""shell32.dll"", -5, ($winWidth-128)/2, ($winHeight-128)/2, 128, 128)
GUICtrlCreateTabItem("""")

GUISetState()

;performMove()

Do
Until GUIGetMsg() = -3

Func winHMove($iOffset)
    WinMove($hGUI, """", $aiPos[0] + $iOffset, $aiPos[1])
    Sleep(1)
    $aiPos = WinGetPos($hGUI)
EndFunc

Func performMove()
	Global $aiPos = WinGetPos($hGUI)
	Do
		winHMove(-1)
	Until $aiPos[0] <= -$winWidth

	Do
		winHMove(1)
	Until $aiPos[0] >= 0
EndFunc
}}}"	Bug	closed	3.2.13.0	AutoIt	Other	None	Fixed		
