Jump to content
Sign in to follow this  
spudw2k

[Solved] Listview Item Handle Help

Recommended Posts

spudw2k

Share this post


Link to post
Share on other sites
DaRam

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
spudw2k

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
DaRam

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
spudw2k

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  

×