Skip to content
Home > Programming > Selecting item on LV

Selecting item on LV

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #186440
    Jerrri2012
    Member

    Hi all,

    I tried to select people on the listview to mass invite people to a room on paltalk

    i tried LB_SELITEMRANGE and LB_SETSEL with PostMessage but nothing happened

    I know also that Twiza did it in his MassInvite program (congrats)

    Thank you for your help

    #186444
    Chike
    Member

    Does LB stands for List Biew?
    Just wondering.

    #186443
    Jerrri2012
    Member

    ok Chike i give up have you any idea ?

    all i know is that names are subitem =1,  but not checkboxes’s

    #186442
    Chike
    Member

    It’s a List vie you need you use List View messages

    Might be the LVM_SETITEMSTATE, with stateMask and state set to LVIS_SELECTED

    #186441
    Jerrri2012
    Member

    Thank you Chike for all your suggestions

    Now it works

    main information to say is

    Mask to be set to LVIF_STATE

    state  to  LVIS_CHECKED

    stateMask to LVIS_STATEIMAGEMASK

    PostMessageA ListView, LVM_SETITEMSTATE,-1, LxprocLVITEM

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.