Jump to content
Sign in to follow this  
FireLord

Problem with Listview in another window

Recommended Posts

FireLord

Here's my cod but it's not working...

For $i = 1 To $Search[0]

Send($Search[$i] & "{Enter}")

$h_Listview = ControlGetHandle("Find", "", 259)

_GUICtrlListViewSetItemSelState ( $h_Listview, -1)

Next

Help would be great.


[center]See the Helpfile[/center]
While Alive()
	 DrinkWine();
}
[center][/center]

Share this post


Link to post
Share on other sites
rasim

Here's my cod but it's not working...

For $i = 1 To $Search[0]

Send($Search[$i] & "{Enter}")

$h_Listview = ControlGetHandle("Find", "", 259)

_GUICtrlListViewSetItemSelState ( $h_Listview, -1)

Next

Help would be great.

From help:

_GUICtrlListViewSetItemSelState

--------------------------------------------------------------------------------

Sets the Item Selected/UnSelected

_GUICtrlListViewSetItemSelState ( $h_listview, $i_index [, $i_selected = 1 [, $i_focused = 0 ]] )

Parameters:

$h_listview control id/control hWnd

$i_index Zero-based index of the item

$i_selected Optional: set the state of the item (1 = selected, 0 = not selected)

$i_focused Optional: set the state of the item (1 = focused, 0 = not focused)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×