• 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: how to get the frontmost application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to get the frontmost application


  • Subject: Re: how to get the frontmost application
  • From: Mike Davis <email@hidden>
  • Date: Mon, 20 Jan 2003 23:22:22 +0000

On Monday, January 20, 2003, at 10:36 PM, email@hidden wrote:

Date: Mon, 20 Jan 2003 23:23:54 +0100
Subject: how to get the frontmost application
From: =?ISO-8859-1?Q?Sal=E1nki_Benj=E1min?= <email@hidden>
To: email@hidden

Hi,

how can I get the name / process id of the active application?


You can use the Carbon Process Manager to get the PSN of the front application. You can then map this onto a pid_t.

Ben
_______________________________________________
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.

  • Prev by Date: drag and drop promise HFS and NSOutlineView
  • Next by Date: Re: Leaking Memory
  • Previous by thread: RE: how to get the frontmost application
  • Next by thread: Return key should not end editing in NSTextField
  • Index(es):
    • Date
    • Thread