Jump to content

Problem with Listview in another window


FireLord
 Share

Recommended Posts

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]
Link to comment
Share on other sites

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)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...