slightly OT - Background view in audiounits
slightly OT - Background view in audiounits
- Subject: slightly OT - Background view in audiounits
- From: Franck Stauffer <email@hidden>
- Date: Mon, 4 Nov 2002 23:01:50 +0100
Hey,
This is slightly out of topic, but i have a small problem with my
audiounit GUI code. I want to display my custom HIViews over a
background image, so i created an HIView that mainly draws the
background image and I specify this
LWCDBackground::GetBehaviors()
{
return TView::GetBehaviors() | kControlSupportsEmbedding;
}
So in my AUView code i create one of those background controls and a
custom knob...and I have this kind of problems:
if I Embed my background view using EmbedControl and if I add my knob
to it using HIViewAddSubview everything is displayed correctly but yet
my knob doesn't respond to mouse clicks. If I dont 't Embed my
background view using EmbedControl and if I still add my knob to it
using HIViewAddSubview, my knob works perfectly but this time i get
redrawing issues each time the AU Window isn't the front window. I know
this is not the carbon mailing list, but since I know a lot of people
here are working hard to get their GUI code working I'd like to know if
someone managed to do this using HIViews.
Thanks
_______________________________________________
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.