Lecdev Posted June 24, 2015 Posted June 24, 2015 If anybody has a bright idea (aside from slowing down the image update) on how to stop the intermittent flickering on this little bit of test gui code i'd love to hear it, my icon dll (icl) is attached GUICreate("Preloader Test", 296, 296)Global $sFile = "Preloader.dll"Global $nCounter = 1Global $sIconName = "image" & String($nCounter)Global $hIcon = GUICtrlCreateIcon($sFile,$sIconName,20,20,256,256)GUISetState(@SW_SHOW)Local $gMsgAdlibRegister ( "_SpinPreloader", 50)Do Sleep(10) ; do loop searching/loadingUntil GUIGetMsg() = -3AdlibUnRegister("_SpinPreloader")ExitFunc _SpinPreloader() $nCounter += 1 If $nCounter = 9 Then $nCounter = 1 $sIconName = "image" & String($nCounter) GUICtrlSetImage($hIcon,$sFile,$sIconName)EndFunc Preloader.dll
Developers Jos Posted June 24, 2015 Developers Posted June 24, 2015 No need to cross post in multiple sub-forums, so please stick to one topic.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts