Custom Query
Results (58 - 60 of 3828)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#183 | Fixed | Event of radio control fired when the GUI is reactivated | Jpm | MsCreatoR <mscreator@…> |
Description |
For some reason, when we create a radio control, the same event is triggered when the GUI is unactivated and then activated again. Bug reproduction: Run the example bellow, then minimize the GUI, and then activate it back. You should see the message box... #include <GuiConstants.au3> $hGUI = GUICreate("Test GUI", 360, 220) $My_Radio = GUICtrlCreateRadio("Radio", 20, 110) $Cancel_Button = GUICtrlCreateButton("Cancel", 20, 180, 80, 20) GUISetState(@SW_SHOW, $hGUI) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE, $Cancel_Button Exit Case $My_Radio MsgBox(0, "", "Is this normal?") Exit ;We need to exit because the message will popup every time EndSwitch WEnd The same with OnEvent mode, and also if we use advanced mode, i.e GUIGetMsg(1). It seems that this happening only with Raio control, but i am not 100% sure, tested only few basic controls (label, button, etc.). BTW, the same bug appears in AutoIt v3.2.8.1. Thanks. |
|||
#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 |
|||
#189 | Fixed | #Include Conflict: Constants.au3 + ScrollBarConstants.au3 = Duplicates | Gary | Saunders <admin@…> |
Description |
#include <Constants.au3> #include <ScrollBarConstants.au3> C:\PROGRA~1\AutoIt3\Include\ScrollBarConstants.au3 (45) : ==> Can not redeclare a constant.: Global Const $OBJID_HSCROLL = 0xFFFFFFFA Global Const ^ ERROR They both set $OBJID_HSCROLL, $OBJID_VSCROLL, and $OBJID_CLIENT. Lines 273-275 in Constants.au3 and lines 45-47 in ScrollBarConstants.au3 I noticed this when I went to use _GUICtrlEdit_Scroll(), and so included ScrollBarConstants.au3, but already had Constants.au3 included for other purposes. For now I'm just declaring the particular constants I need and not including the scrollbar file. |