|Jun 7, 2011, 12:25 AM||#1|
How to identify app is currently show or hide?
i using this to sho and hide my app
[mainwindow orderOut:nil]; // to hide it [mainwindow makeKeyAndOrderFront:nil]; // to show it
please help me for this.
thanks in advance.
|Jun 7, 2011, 04:10 AM||#7|
Try unticking visible at launch in the window property inspector in interface builder. This will stop the window from appearing automatically. Then order the window on screen when you want it to be shown.
|Jun 7, 2011, 05:32 AM||#8|
thanks its done from awakeFromNib .
i am automatically start my application using LoginWindow whenever Mac machine is on or whenever any user logged in.
at this time if i place some alert message in awakeFromNib than app is display otherwise its run in hidden mode,i want to detect the automatically start position to avoid this alert message.
[[NSAlert alertWithMessageText:@"Alert Message" defaultButton:@"OK" alternateButton:nil otherButton:nil informativeTextWithFormat:@"Alert Message"] runModal];
Last edited by newformac; Jun 7, 2011 at 05:47 AM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|How to convince my parents to let me buy a 17" MacBook Pro||Ulf1103||Buying Tips and Advice||58||Nov 27, 2013 12:45 PM|
|Tutorial: How to get PCSX2 to run on Mac (without BootCamp)||Mirrors||Mac Applications and Mac App Store||22||Jun 14, 2013 09:19 PM|
|How to identify app is running in hidden mode?||newformac||Mac Programming||2||Jun 9, 2011 01:01 AM|
|How to make app store icon show badges?||John88||iPhone||1||Apr 28, 2011 02:36 AM|
|[HOW TO] DIY iPhone 4 Swivel Car Mount||QuarterSwede||iPhone Accessories||13||Mar 8, 2011 03:51 PM|
All times are GMT -5. The time now is 09:38 PM.