Posts: 2
Threads: 1
Joined: Oct 2004
I'm currently struck at my quick macro programming.
Can anyone help me with this??
How to get the text in the listbox of a window?
If possible, how to get the first line of the text only?
Posts: 12,097
Threads: 142
Joined: Dec 2002
Following example dislpays text of first item ("Left click") in QM "Mouse" dialog.
[color=blue]str [/color]s
[color=blue]int [/color]hwnd=[color=blue]id[/color](3 "Mouse")[color=green];; get handle of listbox in "Mouse" dialog[/color]
control.LB_GetItemText(hwnd 0 s)
[color=blue]out [/color]s
Posts: 2
Threads: 1
Joined: Oct 2004
I don't understand the what the third line of the code means.
Can i just use getwintext instead of GetItemText?
Thanks for the help