Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ListView + LVIF_DI_SETITEM

3 views
Skip to first unread message

Jean

unread,
Oct 14, 2008, 9:49:19 AM10/14/08
to
Hello

I use a syslistview32 do display images.
I set LVIF_DI_SETITEM to store the image.

When i want to modify the image, i post a ListView_RedrawItems, the
listview does not receive LVIF_IMAGE in the LVN_GETDISPINFO. I suppose that
it's because LVIF_DI_SETITEM was set.
How can i modify or remove this attribute ?


(VC6, SDK)

Jean


Timo Kunze

unread,
Oct 14, 2008, 10:28:45 AM10/14/08
to
Jean schrieb:

> When i want to modify the image, i post a ListView_RedrawItems, the
> listview does not receive LVIF_IMAGE in the LVN_GETDISPINFO. I suppose that
> it's because LVIF_DI_SETITEM was set.
> How can i modify or remove this attribute ?
Set the image to I_IMAGECALLBACK again.

Timo
--
www.TimoSoft-Software.de - Unicode controls for VB6
"Those who sacrifice freedom for safety deserve neither."
"Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der
Überzeugung, dass die demokratischen Kräfte überwiegen und sich – auf
demokratischem Wege – durchsetzen."

Jean

unread,
Oct 14, 2008, 10:36:11 AM10/14/08
to
>> Set the image to I_IMAGECALLBACK again.
Thanks, it worked

Jean
"Timo Kunze" <TKunz...@gmx.de> a écrit dans le message de
news:u5LVrkgL...@TK2MSFTNGP02.phx.gbl...

> Überzeugung, dass die demokratischen Kräfte überwiegen und sich - auf
> demokratischem Wege - durchsetzen."


0 new messages