• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: slightly OT - Background view in audiounits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slightly OT - Background view in audiounits


  • Subject: Re: slightly OT - Background view in audiounits
  • From: Airy André <email@hidden>
  • Date: Tue, 5 Nov 2002 08:52:18 +0100

I tried that for my CAUCarbonViewNib class and I did not have any
problem, except that the backgrounds of my controls
were still white (the rest of the window, between the controls,
correctly display my pict)...
All I did was :
TPngPictControl::Create(&backCtrl, &bounds, 0);
ShowControl( backCtrl );
EmbedControl( backCtrl);
HIViewAddSubview( backCtrl, control );
where "control" was a pane containing all my controls (knobs, sliders,
textfields...) I got from my nib.

Are the back of your control displaying your background, even for
standard Apple controls ?
How do you do that ? Are you using a ControlUserPaneBackgroundUPP proc ?

Airy

Le lundi, 4 nov 2002, ` 23:01 Europe/Paris, Franck Stauffer a icrit :

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

References: 
 >slightly OT - Background view in audiounits (From: Franck Stauffer <email@hidden>)

  • Prev by Date: Re: audio kext plugin
  • Next by Date: Re: coreaudio-api digest, Vol 2 #365 - 12 msgs
  • Previous by thread: slightly OT - Background view in audiounits
  • Next by thread: MusicPlayerPreroll takes time - every time!
  • Index(es):
    • Date
    • Thread