Sign in to follow this  
Followers 0
spudw2k

[Solved] Listview Item Handle Help

6 posts in this topic

#1 ·  Posted (edited)

Share this post


Link to post
Share on other sites



Guessing here, could you try

_GUICtrlListView_GetItemParam($hWnd, $iIndex)

How Do I Determine the Control Handle of a ListView Item by the Item Index?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

What I'm, trying to do is apply an image using GUICtrlSetImage() against the Handle returned from GUICtrlCreateListViewItem()

edit:

Guessing here, could you try

_GUICtrlListView_GetItemParam($hWnd, $iIndex)
Seems to do the trick. Thanks. :) Edited by spudw2k

Share this post


Link to post
Share on other sites

Glad it worked. Curious though how would you use the (pseudo?) handle to a listitem? :)

What I'm, trying to do is apply an image using GUICtrlSetImage() against the Handle returned from GUICtrlCreateListViewItem()

edit:

Seems to do the trick. Thanks. :)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Glad it worked. Curious though how would you use the (pseudo?) handle to a listitem? :)

What I'm, trying to do is apply an image using GUICtrlSetImage() against the Handle returned from GUICtrlCreateListViewItem()

http://www.autoitscript.com/forum/index.ph...st&p=642657 Edited by spudw2k

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  
Followers 0