Hi, all.
Please forgive the newbie-like question, but I'm currently designing
classes which use HIViews which need to support 10.3.9 and later. The
issue I'm confused about are the plethora of functions that were added
to HIView.h in Tiger (i.e., functions which are labeled "10.4 or
later"). Many of them (HIViewIsEnabled, HIViewSetEnabled, HIViewSetText,
HIViewGetText, HIViewSetValue, HIViewGetValue, ...) appear to be simple
renames of standard Control Manager functions.
So I have a two-part question:
[1] If I am writing code that must work in 10.3.9 and later, is there
any reason to be version-sensitive here? I.e., should I go to the
trouble of looking for the 10.4-flavor API and falling back to the
equivalent Control Manager function if not found, or is it sufficient to
just use the Control Manager functions (with notes on to remind me what
to do when I drop my 10.3.9 support)?
[2] Specifically, 10.4 introduced HIViewGetEventTarget. Is there any
reason not to GetControlEventTarget and install events as needed?
Cheers,
Rick Aurbach
Aurbach & Associates, Inc.
------------------------------------------------------------------------
_______________________________________________
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
This email sent to email@hidden