I have a macro that works well on 95% of computers. However, I am running into an issue on a couple computers where the _GUICtrlTreeView_ClickItem clicks the wrong item (an item or two below the correct one). Both the ExpandItem and SelectItem command work fine, just the click item is off on these computers (and only their user names). I'm not sure if some temp file somewhere is causing an issue or what. Note, using ONLY selectitem results in inconsistent focusing (item appears focused but the n
Confirmed as fixed.
Here is my modified versionĀ
Func _GUICtrlTreeView_ClickItem64($hwnd, $hItem, $sButton = "left", $bMove = False, $iClicks = 1, $iSpeed = 0)
;~ https://www.autoitscript.com/forum/topic/198379-_guictrltreeview_clickitem-issues/?do=findComment&comment=1480466
If @OSArch <> "X64" Then
Local $iResult_temp = _GUICtrlTreeView_ClickItem($hwnd, $hItem, $sButton, $bMove, $iClicks, $iSpeed)
Return SetError(@error, @extended, $iResult_te