kylegee Posted April 6, 2007 Posted April 6, 2007 I need to steal the text from a highlighted row within a listview. How can I do it? I can only highlight row by row, and the cells are read only. Info: >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X: 126 Y: 13 W: 539 H: 163 Control ID: 1197 ClassNameNN: SysListView321 Text: List1 Style: 0x5021800D ExStyle: 0x00000204 Thanks, Kyle
kylegee Posted April 6, 2007 Author Posted April 6, 2007 Bump.... Please don't flame me for misspelling the title...lol
GEOSoft Posted April 7, 2007 Posted April 7, 2007 I need to steal the text from a highlighted row within a listview. How can I do it? I can only highlight row by row, and the cells are read only. Info:>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 126 Y: 13 W: 539 H: 163Control ID: 1197ClassNameNN: SysListView321Text: List1Style: 0x5021800DExStyle: 0x00000204Thanks,KyleTake a look at the functions in GUIListView.aur (in your include folder). The one you need is fairly obvious. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
kylegee Posted April 7, 2007 Author Posted April 7, 2007 Take a look at the functions in GUIListView.aur (in your include folder). The one you need is fairly obvious.Ok, I took a look at those functions. They interact with list views created within the function, but can you interact with list views within other programs. All I need is the number of the line selected within a list view that has 200 lines.Many thanks for the help,Kyle
kylegee Posted April 7, 2007 Author Posted April 7, 2007 Ok, I took a look at those functions. They interact with list views created within the function, but can you interact with list views within other programs. All I need is the number of the line selected within a list view that has 200 lines. Many thanks for the help, Kyle Solved it myself: ControlListView ( "title", "text", controlID, "command" [, option1 [, option2]] )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now