﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2602	GUIcreate generates blinking/flikering on W2012	dominiquebenoit@…		"Hello,

For months I have customers using my AutoIT programs claiming for a blinking problem on W2012. 

I asked one of these customer to be able to access remotly his server to analyse this problem. After 2 days I wrote for you the simplest script that show the problem:

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

Blinking()
NOblinking()


; This Guicreate creates Blickering/Flickering
Func Blinking()
	Local $msg
	GUICreate(""Using Task Manager shows 'not responding'"", 615, 440, 192, 124) ;, -1, $WS_EX_TOOLWINDOW) ; BitAnd($WS_EX_TOOLWINDOW, $WS_SIZEBOX)) ; will create a dialog box that when displayed is centered
	GUISetState(@SW_SHOW) ; will display an empty dialog box
	While 1
		$msg = GUIGetMsg()
		If $msg = $GUI_EVENT_CLOSE Then ExitLoop
	WEnd
	GUIDelete()
EndFunc   ;==>Example1

; This Guicreate have no Blickering/ no Flickering
Func NOblinking()
	Local $msg
	GUICreate(""Using Task Manager does not shows anymore 'not responding'"", 615, 440, 192, 124, -1, $WS_EX_TOOLWINDOW) ; I tested all possible style. $WS_EX_TOOLWINDOW is the only onle which eliminates the blinking
	GUISetState(@SW_SHOW) ; will display an empty dialog box
	While 1
		$msg = GUIGetMsg()
		If $msg = $GUI_EVENT_CLOSE Then ExitLoop
	WEnd
	GUIDelete()
EndFunc   ;==>Example1

I also use this program to reproduce the flickering problem on a VMware VM W2012 (running it on the WMware console).

Comments:

When you start the Task Manager, you see the program that switch to Not responding status every seconds.

I test it with the new Autoit release: same behavior.

It works fine on XP/W7 (of course). This problem is only on W2012

I will continue to study this problem on my side, but I would greatly appreciate your help !

Why $WS_EX_TOOLWINDOW fix this? That is my big question.

Kind regards

Dominique 

"	Bug	closed		AutoIt	3.3.11.0	None	No Bug		
