Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (184 - 186 of 3866)

Ticket Resolution Summary Owner Reporter
#185 Fixed Limit of GUI Controls -> (eat up CPU) Jon Xenobiologist
Description

Hi,

on my CPU 1,8 Ghz Pentium M XP SP 2 I cannot create 300 GUIs. CPU is 100 %.

#include<WindowsConstants.au3>

;~ Maximum number of GUI windows: No limit ????

HotKeySet('{ESC}', '_end')
HotKeySet('1', '_create')
HotKeySet('2', '_idle')

_create()

Func _create()
	For $i = 0 To 1000
		GUICreate($i, Random(10, 100, 1), Random(10, 50, 1), _
				Random(0, @DesktopWidth - 110, 1), Random(0, @DesktopHeight - 60, 1), _
				$WS_POPUP, BitOR($WS_EX_TOOLWINDOW, $WS_EX_TOPMOST))
		GUISetBkColor(_randomColor())
		GUISetState()
		ToolTip($i, 0, 0)
		Sleep(5)
	Next
EndFunc   ;==>_create

Func _idle()
	ConsoleWrite('! idle' & @CRLF)
	While 1
		Sleep(10000)
	WEnd
EndFunc   ;==>_idle

Func _randomColor()
	Return Random(0x000000, 0xFFFFFF)
EndFunc   ;==>_randomColor

Func _end()
	Exit (0)
EndFunc   ;==>_end

Link thread :http://www.autoitscript.com/forum/index.php?showtopic=66925

Mega

#186 Completed GUICtrlSetDefColor - related Jpm Zedna
Description

AutoIt3.chm in 3.2.11.5 beta

GUICtrlSetDefColor - as related could be mentioned GUICtrlSetDefBkColor and vice versa.

#187 Completed AutoIt3.chm::/html/script_breaking_changes.htm Zedna
Description

add UDFs section for 3.2.10 version:

In many UDF were changed/renamed many functions - for details see headers of affected include files

for example: GuiListView.au3 ; / ;_GUICtrlListViewGetCurSel ; --> _GUICtrlListView_GetNextItem ;_GUICtrlListViewGetExtendedListViewStyle ; --> _GUICtrlListView_GetExtendedListViewStyle ; ...

Note: See TracQuery for help on using queries.