Re: Virtual Listview



alpine schrieb:
The thing about a virtual list is that you must manage all of the data
yourself. If you dig into the listview docs, you'll find that the
struct passed in the LVN_GETDISPINFO notification message has an
"image" member and when the mask contains the LVIF_IMAGE bit, it means
that the listview is asking for the handle to the icon that you want
it to draw at the given location. At that point, you would pass the
desired icon handle to the listview for drawing.
Not the handle, but the icon's imagelist index.

Timo
--
www.TimoSoft-Software.de - the home of ExplorerTreeView
"Those who sacrifice freedom for safety deserve neither."
.



Relevant Pages

  • Re: Virtual Listview
    ... If you dig into the listview docs, ... "image" member and when the mask contains the LVIF_IMAGE bit, ... desired icon handle to the listview for drawing. ...
    (microsoft.public.vb.controls)
  • Re: Virtual Listview
    ... If you dig into the listview docs, ... "image" member and when the mask contains the LVIF_IMAGE bit, ... desired icon handle to the listview for drawing. ... This is waaay too waaay over my head. ...
    (microsoft.public.vb.controls)
  • Re: Setting the comctl listview (v. 5.0) background image
    ... image in the listview is cleared, and the image contained in the picturebox ... that the hBmp member of the UDT is "not currently ... : Dim BKIMG As LVBKIMAGE ...
    (microsoft.public.vb.winapi)
  • Re: How do I sort a listview control
    ... Assuming lvwItemList is a ListView, ... control to the name I used for my listview control. ... 'Sorting' is not a member of 'System.windows.forms.listview' ... Imports System.Reflection ...
    (microsoft.public.dotnet.framework.compactframework)