Jump to content

ListView Item Icon disappears when select


Recommended Posts

Posted Image

........................
$ListView = GUICtrlCreateListView("", 50, 55, 650, 190, $LVS_NOCOLUMNHEADER, $WS_EX_STATICEDGE)
Local $exStyles = BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_DOUBLEBUFFER, $LVS_EX_FLATSB)
$dumm = _GUIImageList_Create(22,22,5)
_GUIImageList_AddBitmap($dumm, "0.bmp")
_GUIImageList_AddBitmap($dumm, "1.bmp")
_GUICtrlListView_SetImageList($ListView, $dumm, 1)
....................
_GUICtrlListView_InsertItem($ListView, "2:12:12", 0, 1)

Why is the icon disappears, and how to cure it? many thanks

Edited by scon
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...