Re: Cocoa-View plug-in resizing
Re: Cocoa-View plug-in resizing
- Subject: Re: Cocoa-View plug-in resizing
- From: Jeremy Sagan <email@hidden>
- Date: Fri, 27 Jul 2012 23:54:00 -0400
Hello
Sorry for reviving a 3 year old thread but I am having a very similar
problem.
I did get the Apple cocoa UI plug-ins, mentioned below, to show up
properly in my Carbon host and when the disclosure triangle is clicked
the window expands properly. The problem is that the first time, and
only the first time, the new data (e.g. details in
MultiBandCompressor) is drawn incorrectly as it is offset by quite a
few pixels and looks very bad. When I click the details triangle twice
more, everything works fine.
If anyone is interested I would be glad to provide a picture of the
problem. This problem was discovered in 10.6. I am going to check 10.7
soon but it works fine in AU Lab so it is certainly something I am
doing wrong.
Any help greatly appreciated.
Jeremy
On Nov 13, 2009, at 1:33 PM, Timothy Place wrote:
That's exactly what I needed. Thanks!
Tim
On Fri, Nov 13, 2009 at 12:16 PM, Michael Hopkins
<email@hidden> wrote:
Tim,
There is a standard NSView notification that you can register for
to receive
these resize notifications.
NSViewFrameDidChangeNotification
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#/
/apple_ref/doc/uid/20000014-BBCDBGGD
Hope this helps,
Michael
On Nov 12, 2009, at 12:37 PM, Timothy Place wrote:
Hi,
I have an AudioUnit host that currently has trouble with a couple of
the Apple-provided plug-ins (AUDelay and AUDynamicsProcessor) on OS
10.6.x because of the disclosure triangle. This widget appears to
resize the view, but my window does not resize to allow it to fit
properly.
With a Carbon view I have no problem -- I simply get the
ControlBoundsChanged notification. However, on OS 10.6 these plugs
appear to be Cocoa views. Despite much searching, I can't come up
with a way to get a similar notification from these Cocoa views.
Can
someone point me to the correct incantation?
AULab seems to handle the situation properly.
Thanks in advance,
Tim
Cycling '74 | Electrotap | 74Objects
http://blog.74objects.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden