• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: forcing a dialog to be the active (front) window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forcing a dialog to be the active (front) window


  • Subject: Re: forcing a dialog to be the active (front) window
  • From: David McGavern <email@hidden>
  • Date: Thu, 22 Jul 2004 17:37:50 -0400

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.


  • Follow-Ups:
    • Re: forcing a dialog to be the active (front) window
      • From: Jim Ways <email@hidden>
References: 
 >forcing a dialog to be the active (front) window (From: John Spicer <email@hidden>)

  • Prev by Date: Re: Drawing strings at 20fps
  • Next by Date: Re: UnArchiving Mutable Array problem...
  • Previous by thread: Re: forcing a dialog to be the active (front) window
  • Next by thread: Re: forcing a dialog to be the active (front) window
  • Index(es):
    • Date
    • Thread