Hello, I am wondering how I can get the last front application 
ProcessSerialNumber so I can use SetFrontProcess to bring it back to front 
after they close the window to my application. My application is a UIAgent so 
it doesn't have a dock icon and I am thinking that the user would like it more 
if when they close the window to my application it will make the previous 
application so it's front. The way they open my window is by opening the 
application via the finder or dock (if they have it in the dock). My 
application runs in the background to keep track of things and I know my 
customers would not want a menubar icon as I don't want one as well. I know 
there is GetFrontProcess, but that is useless when the application becomes 
front before I call it due to them opening it in the finder and GetNextProcess 
gets Quick Look Helper.

I hope I explained things well, thanks for any help.
Mr. Gecko

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to