• 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: Show/Hide a PSN?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Show/Hide a PSN?


  • Subject: Re: Show/Hide a PSN?
  • From: David Remahl <email@hidden>
  • Date: Fri, 20 Sep 2002 22:28:26 +0200

> OK...
>
> ...I am cocoa code.
> ...I am not an app.
> ...I am bigger than a breadbox and smaller than a... Oops, wrong
> forum! :)
> ...no, seriously - I have the psn of an application.
>
> Now: How do I use it to show/hide that application?
>
> Ando

In Processes.h:

/*
* ShowHideProcess()
*
* Summary:
* Hides or shows a given process.
*
* Discussion:
* Given a psn, this call will hide or show the process specified in
* the psn parameter. You determine whether you would like to show
* or hide the process with the visible parameter. True passed into
* visible indicates you wish for the process to become visible.
*
* Parameters:
*
* psn:
* Serial number of the process
*
* visible:
* true = show process; false = hide process
*
* Availability:
* Mac OS X: in version 10.1 and later in
ApplicationServices.framework
* CarbonLib: in CarbonLib 1.5 and later
* Non-Carbon CFM: not available
*/
extern OSErr
ShowHideProcess(
const ProcessSerialNumber * psn,
Boolean visible)
AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;

Link with ApplicationServices.

/ Sincerely, David Remahl
_______________________________________________
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: Show/Hide a PSN?
      • From: Scott Anguish <email@hidden>
References: 
 >Show/Hide a PSN? (From: Ando Sonenblick <email@hidden>)

  • Prev by Date: Shell Script Build Phase for AutoDoc
  • Next by Date: How do I get a font of size N?
  • Previous by thread: Show/Hide a PSN?
  • Next by thread: Re: Show/Hide a PSN?
  • Index(es):
    • Date
    • Thread