Re: Select a carbon window within a Cocoa application
Re: Select a carbon window within a Cocoa application
- Subject: Re: Select a carbon window within a Cocoa application
- From: Jean Bovet <email@hidden>
- Date: Sat, 7 Jun 2003 15:37:55 +0200
Very strange... I'm using quite the same line of code as SynthTest and
Oroboros but still have problem bringing my carbon windows to the
front... I'll ask the question at the WWDC.
Le Vendredi, 6 juin 2003, ` 19:55 Europe/Zurich, Chris Reed a icrit :
On Thursday, June 5, 2003, at 05:56 PM, email@hidden wrote:
Jean Bovet writes:
I just ran into a little problem using carbon window (used to host AU
from my Cocoa application). When I first create one, it appears in
front of the other. After creating several window and bringing a pure
Cocoa window in front, I cannot bring back any carbon window in front
(like if I was holding the Command key). It seems to happen only when
several carbon window are opened. Does anyone know what I'm doing
wrong
?
How are you trying to bring the window to the front? Are you clicking
somewhere in the window contents, or are you clicking on the title? In
Rax, i've noticed that if you click on the contents of an AU edit
window, it may not come to the front. Clicking on the title always
works.
However, in my Cocoa app, I don't have this problem -- I can click on
the title or the contents to bring the window to front. I'm not sure
what we are doing differently.
If you want to have a look, you can get the source to my app:
http://www.mat.ucsb.edu/~c.ramakr/illposed/ouroboros.html
This is particularly funny, since you're using the AUEditController
class from SynthTest (with modifications), and I *do* see this problem
in SynthTest!
Could your modifications have solved the problem?
-chris
_______________________________________________
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.
------------------------------------------------------------------
Jean Bovet
Inginieur diveloppement
Laboratoire de Productique et Robotique
E-mail : email@hidden - Voice : ++41 (0)32 930 38 43
EIAJ, Site Le Locle
7, avenue de l'Httel-de-Ville, CH-2400 Le Locle
------------------------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.