• 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: SetFrontProcess for Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetFrontProcess for Cocoa


  • Subject: Re: SetFrontProcess for Cocoa
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 24 Sep 2003 22:00:39 -0700

On Wednesday, September 24, 2003, at 09:10 PM, Maria Annadelle Ramas wrote:

We have found a SetFrontProcess API in Carbon, I would
like to ask if someone
knows of a Cocoa counterpart of this API.

You do know that you can make Carbon calls from Cocoa applications, right? <8*) If you have the PID, then you can call GetProcessForPID() and put the result into SetFrontProcess().

You could also send the "activate" AppleScript command to the application, which will bring it to the front.

Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://seiryu.home.comcast.net/

"I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." - Bjarne Stroustrup
_______________________________________________
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.
References: 
 >SetFrontProcess for Cocoa (From: Maria Annadelle Ramas <email@hidden>)

  • Prev by Date: SetFrontProcess for Cocoa
  • Next by Date: Odd problems with NSProgressIndicator
  • Previous by thread: SetFrontProcess for Cocoa
  • Next by thread: Re: SetFrontProcess for Cocoa
  • Index(es):
    • Date
    • Thread