Sign in to follow this  
Followers 0
Sticky

Listview Item color retrieval

2 posts in this topic

When coloring a listview item like this:

GUICtrlCreateListViewItem($item, $list)
GUICtrlSetColor(-1, 0xcc0000)

Is there anyway to later retrieve the color knowing the $list handle and the $item index in the list?

_GUICtrlListView_GetTextColor($list) is to find the entire list control's text color, not an individual item.

Share this post


Link to post
Share on other sites



I've also tried using a DLLstruct to access all of the item's properties... but all returned a -2, besides it's selected state which would be 3 when selected.

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