Re: sendmessage codes

new topic     » goto parent     » topic index » view thread      » older message » newer message

>Now that i've found the codes, the returned index for the selected item
>seems to be off by one
>
>  selected = sendMessage(idList,#188,0,0)
>  item = getItem(idList,selected)
>
>In the above code 'item' contains the info from the item in the list that 
>is
>1 (one) before the highlighted item. What is it that I don't understand or
>have done wrong??
>
>thanks for any help

Nothings wrong with the code, the Windows message returns the index zero 
based where Euphoria used one based.  Just add one to the return value.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu