Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (166 - 168 of 3866)

Ticket Resolution Summary Owner Reporter
#586 Fixed Function _GuiCtrlListView_SetGroupInfo Don't Work Twice Valik TalivanIBM
Description

This function works only one time, after one application don't work.

#include <GuiConstantsEx.au3>
#include <GuiListView.au3>
#include <GuiImageList.au3>

Opt('MustDeclareVars', 1)

_Main()

Func _Main()
    Local $hImage, $hListView,
   
    ;Create GUI
    $hListView = _GUICtrlListView_Create(GUICreate("ListView Set Group Info", 400, 300), "", 2, 2, 394, 268)
    GUISetState()

   ; Load images
    $hImage = _GUIImageList_Create()
    _GUIImageList_Add($hImage, _GUICtrlListView_CreateSolidBitMap($hListView, 0xFF0000, 16, 16))
    _GUIImageList_Add($hImage, _GUICtrlListView_CreateSolidBitMap($hListView, 0x00FF00, 16, 16))
    _GUICtrlListView_SetImageList($hListView, $hImage, 1)

   ; Add columns
    _GUICtrlListView_AddColumn($hListView, "Column 1", 100)

   ; Add items
    _GUICtrlListView_AddItem($hListView, "Row 1: Col 1", 0)
    _GUICtrlListView_AddItem($hListView, "Row 2: Col 1", 1)

   ; Build groups
    _GUICtrlListView_EnableGroupView($hListView)
    _GUICtrlListView_InsertGroup($hListView, -1, 1, "Group 1", 1)
    _GUICtrlListView_InsertGroup($hListView, -1, 2, "Group 2", 1)
    _GUICtrlListView_SetItemGroupID($hListView, 0, 1)
    _GUICtrlListView_SetItemGroupID($hListView, 1, 2)

   ; Change group information
    _GUICtrlListView_SetGroupInfo($hListView, 1, "New Group 1", 1, $LVGS_COLLAPSIBLE)
    _GUICtrlListView_SetGroupInfo($hListView, 2, "New Group 2", 1, $LVGS_COLLAPSIBLE); <--- Not applied

   ; Loop until user exits
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE

    GUIDelete()
EndFunc  ;==>_Main
#589 Fixed mixed compare result, bools and values. Valik anonymous
Description
;; AutoIt Version: 3.2.12.1 / 3.2.13.7
ConsoleWrite('(1=1) = ' & (1=1) & @CRLF)
ConsoleWrite('(1<>1) = ' & (1<>1) & @CRLF)
ConsoleWrite('(1=2) = ' & (1=2) & @CRLF)
ConsoleWrite('(1<>2) = ' & (1<>2) & @CRLF)
ConsoleWrite('(1<2) = ' & (1<2) & @CRLF)
ConsoleWrite('(1>2) = ' & (1>2) & @CRLF)
ConsoleWrite('(1<=2) = ' & (1<=2) & @CRLF)
ConsoleWrite('(1>=2) = ' & (1>=2) & @CRLF)
#cs 
Output:
(1=1) = True
(1<>1) = False
(1=2) = False
(1<>2) = True
(1<2) = 1
(1>2) = 0
(1<=2) = 1
(1>=2) = 0
Comment1: kinda expected all the tests to return real-Bools.
Comment2: I know, Trivial.
#ce
#595 Fixed Typo in help file. Gary ryantollefson
Description

Under the "_WinAPI_SetWindowsHookEx" section (WinAPI Management) it lists "$WH_KEYBOARD_LL" as a "procedure that monitors low-level mouse input events." I think this should read that it monitors "low-level keyboard input events."

Note: See TracQuery for help on using queries.