Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DeDMakar

macrumors member
Original poster
Mar 24, 2008
39
0
How to get notification of rerun application that is namely being started from the icon? Because the program is automatically started upon OS log.
 

satyam90

macrumors regular
Jul 30, 2007
242
0
Bangalore, India
Use named mutex objects.
First create a named musted object as the first step in ur application. Check if mutex already available or not. Handle it accordingly.
 

DeDMakar

macrumors member
Original poster
Mar 24, 2008
39
0
No. The program starts up automatically upon system logon, and the icon appears in the system tray (near clock). A user may not notice the icon , thus he/she starts the program manually, and then pops up program's main window.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.