Jump to content

ControlCommand and SysListView32


 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • Administrators

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 | ]

Link to comment
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 ?

Link to comment
Share on other sites

  • Administrators

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.
Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...