I was wondering how to get the "main" area of a control for use with
HIView tracking areas. HIViewNewTrackingArea() lets you pass NULL for
the inShape param, which does actually cause the entire structure
region to be used which is fair enough, but this doesn't give a
particularly desirable area for some controls. For example, if you do
it on pushbutton then when you move the mouse over the button from
below you get the mouse entered event when the mouse hits what looks
like somewhere a little outside the edge of the shadow area under the
button. It seems to me that getting the event when the mouse actually
moves over the button itself would be a bit better.
I found HIViewCopyShape() but am not sure if any of the part
constants would give me what I'm looking for. Perhaps I'm just better
off using the entire structure region, given the potential variety in
the shapes of different regions of a control ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden