I have ListView in report mode.
I want to achieve two things
1) no selection
2) only select subitem and not whole row (now it uses $LVS_EX_FULLROWSELECT+$LVS_EX_GRIDLINES)
I have dirty workaround for "1) no selection" here by deselecting all rows after click/doubleclick
but I want to know if there is better more effective solution ...
#AutoIt3Wrapper_UseX64=n
#NoTrayIcon
#include <WindowsConstants.au3>
#include <GUIConstants.au3>
#include <GuiListView.au3>
Global
Zedna, May be you can use something like this:
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiListView.au3>
Opt( "MustDeclareVars", 1 )
Global $hGui, $hLV, $aHit[2] = [ -1, -1 ] ; $aHit contains row & col of marked cell
MainFunc()
Func MainFunc()
$hGui = GUICreate( "Mark Cell in Listview", 250, 222 )
Local $idLV = GUICtrlCreateListView( "Column 0|Column 1|Column 2", 2, 2, 250-4, 222-4 )
$hLV = ControlGetHandle( $hGui, "", $idLV )