Sign in to follow this  
Followers 0
LOULOU

ControlCommand and SysListView32

7 posts in this topic

Can someone give me the synthax of ControlCommand with SysListView32 ? , because the documentation can't reflect this news of V 3.0.103

Share this post


Link to post
Share on other sites



I'm not 100% sure if this is what youre talking about, but ListViews cant be done yet. Jon is working on them right now though. Check out this thread for info in his progress.

http://www.autoitscript.com/forum/index.php?showtopic=4418

Also check out the 4th post in this thread. The post my "This-is-me" explains a method that can get the job done in a round about sort of way.

http://www.autoitscript.com/forum/index.php?showtopic=4289

There are a few other threads on the forums about this topic, a search should bring them up.

Share this post


Link to post
Share on other sites

Extra listview ControlCommands are:

- LV_GetItemCount

- LV_GetSubItemCount

- LV_GetText, index, subindex

- LV_SelectAll

- LV_SelectClear

- LV_IsSelected, index

- LV_Select, from index, [to index]

- LV_Deselect, from index, [to index]

- LV_GetSelected, [0 = single/first, 1 = multiple delimited by | ]

Share this post


Link to post
Share on other sites

Extra listview ControlCommands are:

- LV_GetItemCount

- LV_GetSubItemCount

- LV_GetText, index, subindex

- LV_SelectAll

- LV_SelectClear

- LV_IsSelected, index

- LV_Select, from index, [to index]

- LV_Deselect, from index, [to index]

- LV_GetSelected, [0 = single/first, 1 = multiple delimited by | ]

<{POST_SNAPBACK}>

Thanks Jon for your answer.

I try the function and it's works great

Do you plan an alphabetical search on an index or on an subindex like in lkistbox ?

Share this post


Link to post
Share on other sites

Thanks Jon for your answer.

I try the function and it's works great

Do you plan an alphabetical search on an index or on an subindex  like in lkistbox ?

Give me an example and I'll see what I can do.

Share this post


Link to post
Share on other sites

Give me an example and I'll see what I can do.

<{POST_SNAPBACK}>

Example :

I have a systlistview321 that have one index and one Subindex like that :

Index value SubIndex value

toto Bonjour

tata assez

titi neuf

Exemple

ControlCommand("","","Syslistview321","LV_Search", from index ,searchphrase)

ex. ControlCommand("","","Syslistview321","LV_Search", 0 ,"toto") would return then item number selected

another one with Subindex

ex. ControlCommand("","","Syslistview321","LV_Search", 0 ,"Bonjour") would return item number selected

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0