Force my application to be the front most app...
Gregory Weston
gweston at mac.com
Sat May 26 13:36:49 PDT 2007
heizer1 at llnl.gov wrote:
> Hello,
> Can someone point me in the right direction please. I would like to
> force my
> application to be the front most application. I know, this is not good
> practice, but my app is a Nag-ware app and in-house only.
Aside from the Cocoa and Carbon techniques people have shown you to
actually bring yourself the front, another alternative is bit of the
API called the notification manager. The real point of it is to get
the user's attention in a way that's not potentially destructive to
either the active app or the one requesting attention. It might be
appropriate for your needs.
Greg
More information about the MacOSX-dev
mailing list