Re: CarbonView newbie
Re: CarbonView newbie
- Subject: Re: CarbonView newbie
- From: William Stewart <email@hidden>
- Date: Wed, 16 Jun 2004 16:55:10 -0700
Nope
You have to draw ALL of your controls, etc from the X,Y offset that is
passed in via the call to create your view - AudioUnitHosting is a good
test for that - it deliberately offsets your x,y point...
Bill
On 16/06/2004, at 4:40 PM, email@hidden wrote:
>
> From: Marc Poirier <email@hidden>
>
> Date: 2004/06/15 ti PM 11:32:57 GMT
>
> To: email@hidden
>
> CC: CoreAudio API <email@hidden>
>
> Dmne: Re: Re: CarbonView newbie
>
>
>
> Are you sizing your root pane control to the size of your GUI? If
>
> not,
>
> then the window may be 0x0, not having any size to go by. You do
>
> something like this at the end of CreateUI():
>
>
>
> SizeControl(mCarbonPane, yourWidth, yourHeight);
>
>
>
> Marc
>
>
Yepp, that did the trick!
>
>
Now it all seem to work using Metro as host. Not so
>
in Logic. With Logic I am not alone in my window. I can see
>
my stuff briefly in the upper part of the window before
>
Logic draws it's header over it. SHould I really create some
>
sort of sub-window of my own, or something?
>
>
/Olof W
>
>
>
>
>
>
>
>
> On Tue, 15 Jun 2004 email@hidden wrote:
>
>
>
>> Well, I think I had this grasped already. My Editor does start up and
>
>> happily communicates with the AU it is supposed to control. It also
>
>> receives a windowRef from the host and I thought that meant that the
>
>> host had opened a window and that the windowRef could be used to draw
>
>> stuff and whatever you want to do with a window. But I see no window.
>
>>
>
>> /Olof W
>
> _______________________________________________
>
> 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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.