Skip to content
Home > Programming > Get Selected Item In SysListView32

Get Selected Item In SysListView32

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #189122
    AhFox
    Member

    Hi

    I am just wondering how to get a selected item in the system32 list ….

    Well position can be use by the following command:
    LVM_GETSELECTIONMARK

    Need to get the text.

    Question #2: just wondering … how do I set the selection mark … let say if I know the item and the position.

    #189148
    Admin
    Administrator

    Man have u come cose to doin this, I still need this lol I went to all thevb forum and none seem to tell me the right way they be talking about LVM_GETITEM
    🙄

    #189147
    Departure
    Member

    yeah i had that code Admin, i will try and find it for you mann, I think we talked about it before but I forgot all about it untill i seen this post

    It might take a little while because i have to search all my codes to find it, i did this about 6 months ago and originaly got help from the VB forum

    #189146
    Admin
    Administrator

    Thanks loco, when you find it hooks us up 😀

    #189145
    AhFox
    Member

    thank you guys … i’m still figuring out this problem ….

    I’m trying to set and get the selected items … trying to create a fast bouncer … like

    !kick

    !mute

    but first I need to get the selected item … I thought I figured it out .. but yahaha … doesn’t work good though 🙁

    #189144
    Departure
    Member

    try that at vbforum, i am still looking where i had that original code, i know i got it from vbforum some where

    #189143
    Admin
    Administrator

    Ah I try something like that but it crashes paltalk, but i get a feeling we getting closer 🙂

    #189142
    Departure
    Member

    I have the soulution, problem solved, i have it working but i need to clean up my messy test code, so as soon as i have done ill post you guys and example :O)

    #189141
    Departure
    Member

    hmmm maybe its not what you guys want because i just re-read the first post for this topic, anyway this is what i have…..

    Highlight by nickname or do a paltalk menu command by there nickname so i guess its not selecting a position, but if your app know what name it is, then it could be used to highligh the same nickname in paltalk

    so i guess that would mean it does’nt find a position but rather the persons nickname instead and then highlights it, dont know if this is still helpful

    #189140
    Admin
    Administrator

    lol thats exactly what i need 🙂 i dont know bout nve tho 8)

    #189139
    Newbie
    Member

    I wonder if you can share it with us

    #189138
    Departure
    Member

    sorry its taking awhile but i am very busy during the weekdays, but let me tell you where i am at, i am using sendkeys method, but it has proven unreliable, this is due to the fact Microsoft fucked that function up a bit, but I am working on improving it buy a series of strings before the sendkey gets sent to the systemlistview, also i am looking at some API that works the same as sendkeys, because the way found was to highlight the first person in the list then send keystroke to get the persons name.

    For example in paltalk if you highlight the first perswon in the list the lets say you want to highligh my NME nickname then you would just typ N M E ect.. then NME will be highlighted, so instead of me typing that i am using sendkeys to do that for me, and ofcouse i already know what nick i want highlighted from app,

    Maybe i have explained this wrong but if you dont understand just wait until i upload an example code to show you guys

    #189137
    Newbie
    Member

    Oh i understand what you try to mean. This has been done before. However if the person has the @ in front of their name you cannot select their nickname using the sendkeys @nickname

    #189136
    Departure
    Member

    yes but @ does’nt count and does not need to be sent, anyway i will working around the sendkey bugs tonight or tomorrow so i should have a good reliable version working by sunday night :O)

    #189135
    AhFox
    Member

    I am almost go crazy with this systemlist view …

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