Re: sendmessage codes
- Posted by Don Phillips <Graebel at hotmail.com> Jun 05, 2002
- 423 views
>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.