• 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: CPSEnableForegroundOperation question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CPSEnableForegroundOperation question


  • Subject: Re: CPSEnableForegroundOperation question
  • From: Dmitry Markman <email@hidden>
  • Date: Sat, 5 Mar 2005 15:28:52 -0500

excellent, thank you very much
TransformProcessType(&psn,kProcessTransformToForegroundApplication);
does the job


I was just curious:
I was looking at source of the java_swt swt launcher tool
and found CPSEnableForegroundOperation call there
I remember I had a troubles to create Cocoa application without Interface Builder
and it behaved just like java_swt without CPSEnableForegroundOperation call


thanks again





On Mar 5, 2005, at 2:14 PM, Eric Albert wrote:

On Mar 5, 2005, at 10:58 AM, Dmitry Markman wrote:

I understand that method
extern OSErr CPSEnableForegroundOperation(ProcessSerialNumber *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5);


in undocumented

That means you shouldn't call it. It may change, break, or be removed in any release.


is there another way, using public APIs to do the same thing?

If you're trying to convert a background process into a foreground process, call TransformProcessType in Processes.h.


Hope this helps,
Eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CPSEnableForegroundOperation question
      • From: Finlay Dobbie <email@hidden>
References: 
 >CPSEnableForegroundOperation question (From: Dmitry Markman <email@hidden>)
 >Re: CPSEnableForegroundOperation question (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: CPSEnableForegroundOperation question
  • Next by Date: generate stub library
  • Previous by thread: Re: CPSEnableForegroundOperation question
  • Next by thread: Re: CPSEnableForegroundOperation question
  • Index(es):
    • Date
    • Thread