Custom Query (3931 matches)
Results (253 - 255 of 3931)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #937 | Fixed | TrayItemSetState() and TrayItemGetState() | ||
| Description |
I'm getting an odd result using the TrayItemGetState function. I have written some code to take action when the user clicks an item in my tray menu, depending on its state. The code also toggles the checked state of the item. No matter which state the menu item is in, the call to TrayItemGetState always returns 68. Am I doing something wrong? Here's some example code which always returns 68 on my machine... #include <Constants.au3>
; Set up Tray Menu...
AutoItSetOption("TrayAutoPause", 0)
AutoItSetOption("TrayMenuMode", 1)
AutoItSetOption("TrayOnEventMode", 1)
$optionsMenu = TrayCreateMenu("Quick Options")
$startOnBoot = TrayCreateItem("Start with Windows", $optionsMenu)
$exitItem = TrayCreateItem("Exit")
TrayItemSetOnEvent($startOnBoot, "SetOptions")
TrayItemSetOnEvent($exitItem, "AppExit")
TrayItemSetState($startOnBoot, $TRAY_UNCHECKED)
while(1)
WEnd
Func SetOptions()
ConsoleWrite("TrayItemGetState = " & TrayItemGetState($startOnBoot) & @LF)
If BitAND(TrayItemGetState($startOnBoot), $TRAY_UNCHECKED) = $TRAY_UNCHECKED Then
TrayItemSetState($startOnBoot, $TRAY_CHECKED)
Else
TrayItemSetState($startOnBoot, $TRAY_UNCHECKED)
EndIf
EndFunc ;==>SetOptions
Func AppExit()
Exit
EndFunc ;==>AppExit
|
|||
| #941 | Fixed | Changes to macro auto completion tips | ||
| Description |
I am using SciTE Version 1.77 Oct 23 2008 19:06:08 with AutoIt 3.3.0.0. The list of macros that are displayed in the drop down auto-completion, as well as the help, need some revision. The following the changes I could identify:
That's all I could identify for now. Feel free to contact me with any questions you may have. |
|||
| #951 | Fixed | _ArrayDisplay - $iLVIAddUDFThreshold: 4000 ==> 65000 | ||
| Description |
ListView items limit has been increased from 4000 to 65000 since AutoIt 3.2.12.1. So in _ArrayDisplay should be $iLVIAddUDFThreshold = 65000 insted of $iLVIAddUDFThreshold = 4000 Or maybe whole complicated part using LVM_INSERTITEM for inserting items above this threshold should be removed because 65000 rows is enaugh I think. I'm not sure if this is bug or feature request so feel free to change this status. I think it's more (speed/code) optimization request than bug. |
|||
