Re: CPSEnableForegroundOperation question
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