From Reference Link :-
About List-View Controls [
^]
To use overlay images in a list-view control:
A) Call the
ImageList_SetOverlayImage
function to assign an overlay image index to an image in the full-sized and small icon image lists. An overlay image is identified by a one-based index.
B) You can associate an overlay image index with an item when you call the
ListView_InsertItem
or
ListView_SetItem
macro. Use the
INDEXTOOVERLAYMASK
macro to specify an overlay image index in the state member of the item's
LVITEM
structure. You must also set the
LVIS_OVERLAYMASK
bits in the
stateMask
member.
Suggested Link :-
ImageList_SetOverlayImage function[
^]