简体   繁体   中英

vb6 set listview item/subitem image

I have a listview that I want to implement the effect seen in this image:

带有蒙版项目和sumitem的listview

The listview hides some items like in the image below except a password is entered. I know that item and subitem image are usually left aligned.

How do I set the item and subitem image to cover the whole text are of the list view as shown?

EDIT

I got a tip of how to draw the pattern in this pics from here , but how do I draw this on a listitem?

You'll be better off using subclassing and owner/custom drawing. That will allow you to draw that entire row and let the listview deal with the rest.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM