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 14 Oct 2005, at 17:55, Jerry wrote:



The other thread about SetControlVisibility reminded me of something I
wanted to ask. I have some places in my code where the state of one control
is dependant on the visibility of another control (HIView). Ideally I would
like to be able to just call the code that synchs the state of the first to
the visibility of the second during window construction, but
IsControlVisible returns false if the window isn't visible, so this doesn't
work. I remember asking about this some time back and at that time I seem to
recall that there was no way to determine the actual visible state of the
control itself. Is that still the case? Thanks,



Read those headers, Larry!

/*
 *  HIViewIsLatentlyVisible()


* Mac OS X: in version 10.4 and later in Carbon.framework

But what about 10.3? AFAIK there's no way to do it there.

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).


Thanks

Matt Gough
_______________________________________________
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


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.