
A question about "declare function"
Quote:
> declare function LLastClick lib "CarbonLib" (theList as Listbox) as integer
You're mixing things up here by trying to pass a RB class to a Toolbox
function. The RB ListBox class may or may not be based on a List
Manager list (I don't know how it's implemented), but it isn't the
same. You have to pass a ListHandle to this function, and as far as I
can tell there isn't a ListHandle associated with a RB ListBox -- or at
least not one we can access.
If I'm wrong I'm sure Joe will correct me! :-)