Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining a view's latent visibility




On Jun 9, 2006, at 1:43 PM, James W. Walker wrote:


Was there ever an answer to this? I'm in the middle of updating some code that used to rely on the old-style meaning of IsControlVisible and need to work with at least 10.3 (and maybe 10.2).

My imperfect workaround is as follows:

* I wrote a wrapper around HIViewSetVisible that also, on pre-Tiger systems, sets a control property to record how the visibility was set.

* I wrote a IsLatentlyVisible function that, on pre-Tiger systems, looks for that control property. If the property is not set, it falls back to IsControlVisible.

I do the same thing. It's pretty much your only option as far as I can tell.


Larry
_______________________________________________
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
References: 
 >Re: Determining a view's latent visibility (From: Matt Gough <email@hidden>)
 >Re: Determining a view's latent visibility (From: "James W. Walker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.