Re: forcing a dialog to be the active (front) window
Re: forcing a dialog to be the active (front) window
- Subject: Re: forcing a dialog to be the active (front) window
- From: Jim Ways <email@hidden>
- Date: Thu, 22 Jul 2004 15:07:48 -0700 (PDT)
[thePanel makeKeyAndOrderFront: @"1"];
seems to work for some reason, im still new to cocoa
but its worth a try =)
--- David McGavern <email@hidden> wrote:
>
I don't really understand what you mean by target.
>
>
Are you trying to make your app the active
>
application (aka steal focus
>
from another app)? If so, try calling:
>
>
[NSApp activateIgnoringOtherApps:YES];
>
>
before you call makeKeyAndOrderFront. :-)
>
>
- Davey
>
>
On Jul 22, 2004, at 9:38 AM, John Spicer wrote:
>
>
> Following the examples in apple's book, I use this
>
>
>
> [thePanel makeKeyAndOrderFront: nil];
>
>
>
> but this does not actually make the window the
>
target. what does?
>
> _______________________________________________
>
> 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.
>
_______________________________________________
>
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.
>
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
_______________________________________________
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.