Re: TC PowerCore Plug-ins broken in GarageBand
Re: TC PowerCore Plug-ins broken in GarageBand
- Subject: Re: TC PowerCore Plug-ins broken in GarageBand
- From: Marc Poirier <email@hidden>
- Date: Fri, 23 Jan 2004 02:20:29 -0600 (CST)
On Fri, 23 Jan 2004, Urs Heckmann wrote:
>
Am Freitag, 23.01.04 um 01:29 Uhr schrieb Jeff Moore:
>
>
> I was going for the low hanging fruit =)
>
>
>
> The compositing window thing that Marc suggested could be it. It seems
>
> to fit the symptoms you are desribing, but I really don't know
>
> anything about that problem/issue to offer any advice.
>
>
Oh.
>
>
I havn't tried it with Zebra, so I can't confirm...
>
>
...but, I found out that in Compositing Windows, CarbonControls
>
(embedded via HiView APIs) do not receive a DrawEvent if you just
>
change their Control Value. I think one can just use Draw1Control to
>
update the Controls.
Yeah, that's what I've found, too. For my control class event handler in
DFX GUI, I do something like this:
case kEventControlValueFieldChanged:
if ( IsWindowCompositing() )
Draw1Control(theControl);
where IsWindowCompositing() is like this:
bool DfxGuiEditor::IsWindowCompositing()
{
if (GetCarbonWindow() != NULL)
{
WindowAttributes attributes = 0;
OSStatus error = GetWindowAttributes(GetCarbonWindow(), &attributes);
if (error == noErr)
return (attributes & kWindowCompositingAttribute) ? true : false;
}
return false;
}
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.