Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Paul Fox <email@hidden>
- Date: Mon, 12 Aug 2002 13:51:13 +0100
>
On Monday, August 12, 2002, at 11:47 am, Paul Fox wrote:
>
>
>
> Hm. Found my problem. I implement the X11 function XRaiseWindow to make
>
> the clicked window the top of the visible window order. So far
>
> the only way to implement this I have found is:
>
>
>
> [w removeFromSuperviewWithoutNeedingDisplay];
>
> [s addSubview: w];
>
>
>
> Is there any other way to make a NSView top of the visible stack?
>
> Temporarily removing the view from the parent causes the subsequent
>
> mouseUp event to be lost which is a little bit criminal and sad.
>
>
>
>
>
- (void) sortSubviewsUsingFunction:(int (*)(id, id, void *))compare
>
context:(void *)context;
>
>
maybe?
>
>
Marco Scheurer
>
Sen:te, Lausanne, Switzerland http://www.sente.ch
Thanks Marco - I tried this this morning and it works great - exactly
what I was after.
regards
_______________________________________________
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.