Re: Carbon views and Cocoa windows
Re: Carbon views and Cocoa windows
- Subject: Re: Carbon views and Cocoa windows
- From: Luke Bellandi <email@hidden>
- Date: Tue, 22 Jun 2004 14:05:18 -0700
On Jun 22, 2004, at 1:36 PM, Robert Grant wrote:
A while back there was some discussion about why some Carbon views
only respond to right mouse clicks and a guy from the Soundtrack team
provided a tip for fixing it by making sure the Cocoa window is
created before the Carbon view is created - and sure enough it works,
but....
I have found that doing this stops the window from coming to the front
when clicked on. The controls respond properly but the window is not
ordered front. I've finally found that it will order front if clicked
in the bottom left corner.
Dumping the frame of the window shows that it has the correct size.
You'll likely need to sign up for window activation events to see if
you're getting those. If you are, you can then explicitly
activate/deactivate the window manually. You may also need to do this
for application activation events. Carbon-Cocoa integration as heavy
as what you're attempting shows a few of the remaining disconnects
between the 2 API sets. I would suggest filing bugs against the
Carbon/Cocoa components as appropriate.
Best,
Luke
Thanks for any tips,
Robert.
(Still scratching his head over the sample rate issue...!)
_______________________________________________
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.