Reading Listbox values of other window

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 211
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Reading Listbox values of other window

Post by Otrebor »

Hi

Since it is not specific PB, i'm posting here.
First i tried this to know how many itens:

Code: Select all

count=SendMessage_(Listbox_handle, #LB_GETCOUNT, 0, 0)
But does not work...

Can anyone help me with it?
Thank´s