Re: Looking for example of this type of app.
Re: Looking for example of this type of app.
- Subject: Re: Looking for example of this type of app.
- From: Jerry Krinock <email@hidden>
- Date: Sun, 19 Jun 2005 07:02:46 -0700
on 05/06/19 04:22, Paul Sargent at email@hidden wrote:
> 4) It will poll things in the background and raise windows when
> various events occur. (Kicked off an NSTimer or something. This part
> is pretty much done)
-(void)bringToForeground
{
ProcessSerialNumber psn = { 0, kCurrentProcess };
OSStatus returnCode = TransformProcessType(& psn,
kProcessTransformToForegroundApplication);
if( returnCode != 0)
NSLog(@ "Could not bring the application to front. Error %d",
returnCode);
[NSApp activateIgnoringOtherApps:YES] ;
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden