AUCarbonViewBase : embedding controls in non-composit windows
AUCarbonViewBase : embedding controls in non-composit windows
- Subject: AUCarbonViewBase : embedding controls in non-composit windows
- From: Peter Meier <email@hidden>
- Date: Mon, 18 Aug 2008 16:41:24 +0200
Hi all,
I created an AU with a GUI derived from AUCarbonViewBase. The Editor
works fine with AULab, Logic, LIVE and KORE 2 on my Intel Mac under
10.5.4.
But when I use the AU on a G5 running with 10.4.10 the AU crashes,
when I open the editor in LIVE and KORE 2.
I found out, that the crashes depend on if the editor window is
composit or not. LIVE and KORE provide non-composit editor windows on
my G5 under 10.4 ( but composit windows on Intel under 10.5 ).With
composit windows it's fine, but with non-composit windows the editor
crashes.
In my editor I use my own controls created with custom HIViews. All
HIViews are added in this way to the mCarbonPane :
HIViewAddSubview( mCarbonPane, myHIViewControls );
I looked into AUCarbonViewBase.cpp and just found that the offset for
x and y is different in composit and non-composit windows ( in
AUCarbonViewBase::CreateCarbonView the offset is set to 0 for non-
composit windows ).
How and where HIViews should be placed in non-composit windows ? What
am I missing ?
Thanks.
Peter
_______________________________________________
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