﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
847	Image not showing in GUI when called by _Timer_SetTimer	anonymous		"It seems that when a gui is called by _timer_settimer the image will not show. In the example provided, the function is called directly first and the image is shown in the GUI, then when the function is called with the timer, the image will not show.

Environment = 3.3.0.0 under  WIN_XP/Service Pack 3 X86
{{{
#include <WindowsConstants.au3>
#include <WinAPI.au3>		
#include <_Timers.au3>

$IMAGE_GENERAL_ARRAY = """";PUT path to an image on your computer.


$GUISPLASH = GUICreate(""Speed Indicator"", 600, 66, -1, 10, $WS_POPUP, $WS_EX_LAYERED + $WS_EX_TOOLWINDOW)
GUICtrlCreatePic($IMAGE_GENERAL_ARRAY, 0, 0, 600, 66)
GUISetState(@SW_HIDE, $GUISPLASH)

_test("""","""","""","""")

_Timer_SetTimer($GUISPLASH, 10000, ""_test"")


While 1
	Sleep(50)
WEnd


Func _test($HWND, $MSG, $IIDTIMER, $DWTIME)
	GUISetState(@SW_SHOW, $GUISPLASH)
	_WinAPI_Beep(400, 200)
	Sleep(200)
	_WinAPI_Beep(400, 200)
	Sleep(1000)
	GUISetState(@SW_HIDE, $GUISPLASH)
EndFunc   ;==>_test
}}}
"	Bug	closed		AutoIt	3.3.0.0	None	No Bug		
