Get Selected Item In SysListView32

You can talk about VB programming here

Postby NVYE » Mon Feb 13, 2006 12:26 pm


okay ...

Good progress ...

Let say I highlight a nickname then I want to get the "nickname" in text of the person I hightlighted... how do I do that ???
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 230
Joined: Fri Jun 10, 2005 11:29 pm

Postby method » Thu Apr 13, 2006 9:42 pm

did any one of u managed to add buddylist names to a listbox? I need that code badly.thanks
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Postby DarkCoder » Sun Apr 16, 2006 9:25 pm

hmm.. how close are yall to coming up with a code for this? I'm working on a code for this very thing to go with one of my new projects. I have most of it completed, i can go to the name i'm looking for i just haven't found out how to highlight it, well i know what to do to highlight it.. i just don't know how to use it yet. lol. I been working on it all day, hopefully i will figure the rest of it out soon, or at least I hope someone finds out how cause its a pain in the ass.
DarkCoder
imFiles Senior
imFiles Senior
 
Posts: 175
Joined: Mon Oct 31, 2005 7:55 pm

Postby locohacker » Mon Apr 17, 2006 10:10 am

DarkCoder, how you going bout it maybewe can help each other :) we still stuck up in here
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby DarkCoder » Mon Apr 17, 2006 3:55 pm

hmm.. well the way i planned it out was to just use the GETTEXT method or just change the state which will select the item you want. I tried sendkeys first, but i didn't like it and ended up redoing it. The problem is that i'm not exactly sure how to use the gettext method, but I will find out soon :-). I've been trying different things to find the item i want.. such as using ensurevisible which will take you to the item, but is actually intended to ensure the fact that the item is visible. I'm not sure how yall are doing it, but i have found this to be the easiest way for me :-/.
DarkCoder
imFiles Senior
imFiles Senior
 
Posts: 175
Joined: Mon Oct 31, 2005 7:55 pm

Postby DarkCoder » Mon Apr 17, 2006 6:01 pm

hmm i'm getting very close but somehow i did something to mess it up.. and now ensurevisible isn't doing its job :-/ i'm about to go work on it somemore.

oh by the way, how were yall going about selecting a Item, are you all trying to do it with sendkeys or what?
DarkCoder
imFiles Senior
imFiles Senior
 
Posts: 175
Joined: Mon Oct 31, 2005 7:55 pm

Postby locohacker » Mon Apr 17, 2006 6:26 pm

well i did use sendkeys but that shit dont worl :( I hoping to find a much more reliable way :roll:
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby DarkCoder » Mon Apr 17, 2006 6:58 pm

i'm like very close to finding it :-)
DarkCoder
imFiles Senior
imFiles Senior
 
Posts: 175
Joined: Mon Oct 31, 2005 7:55 pm

Postby DarkCoder » Mon Apr 17, 2006 7:58 pm

hey, i got it so i can select.. and highlight items in the list, but i haven't got it to specify which items. do you know how to use ensurevisible to make the code go to a specific item?
DarkCoder
imFiles Senior
imFiles Senior
 
Posts: 175
Joined: Mon Oct 31, 2005 7:55 pm

Postby method » Mon Apr 17, 2006 11:37 pm

Dark if u can post it we can all work on it in how to select perticuler item :-) one question did u select the item from external list or the list that holds that imported items from list view ?
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Postby DarkCoder » Tue Apr 18, 2006 1:41 pm

i selected and highlighted the item in the actually paltalk listview, i'm not at home right now so i don't have the code with me to upload :-/ should be home later.
DarkCoder
imFiles Senior
imFiles Senior
 
Posts: 175
Joined: Mon Oct 31, 2005 7:55 pm

Postby method » Mon Jun 19, 2006 12:23 am

DarkCoder wrote:i selected and highlighted the item in the actually paltalk listview, i'm not at home right now so i don't have the code with me to upload :-/ should be home later.


Many could u share that code . I still wait for it.Thanks
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Previous

Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests