> Simple enough to make it not crash. You defined
>
> Function: LBItemFromPt ( hLB pPoint bAutoScroll -- item# )
>
> This is one of the *really* misleading features in the api.
> Note the second parameter of type POINT -- this is a structure
> passed in the stack frame, which occupies two paramter entries.
> So the correct definition of the api call is
>
> Function: LBItemFromPt ( hLB px py bAutoScroll -- item# )
>
> Hope this helps.
>
> Rick VanNorman
>
Yes, it did help! Once again, you have arranged the magic stones in the correct
order.
I've posted a Drag Listbox example to the SF FAQ at:
http://www.neverslow.com/cgi-bin/swiftforth?file=132
Thanks,
Mike
Received on Mon Nov 06 2000 - 15:13:22 PST
Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!
This archive was generated 09-Feb-2012. Archive updated nightly.