Announcement

Collapse
No announcement yet.

Listview select

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Peter Lameijn
    replied
    Thanks! (missed that one...)

    ------------------
    Kind regards,
    Peter.

    Leave a comment:


  • Eric Pearson
    replied
    %LVM_GETNEXTITEM will do what you need to do. It can search for selected items.

    -- Eric

    ------------------
    Perfect Sync: Perfect Sync Development Tools
    Email: mailto:[email protected][email protected]</A>

    Leave a comment:


  • Peter Lameijn
    started a topic Listview select

    Listview select

    In a DDT listview with multiple items selected, I need to retrieve the position of all selected items (I need to delete them) I've tried LVM_FindItem, but I always get "1" returned as position, also if I select another item. (I set LV_FindInfo.Flags to %LVFI_PARAM, LV_FindInfo.lParam To %LVIS_SELECTED)

    I can use Listview_GetItemstate, but then I have to check the complete view (5000+ items usually). If possible i'd like to enumerate only the selected items (usually 5-10 items)
    -------------
    Kind regards,
    Peter.

    [This message has been edited by Peter Lameijn (edited May 23, 2000).]
Working...
X