IMKit window not reappearing
IMKit window not reappearing
- Subject: IMKit window not reappearing
- From: Daniel Child <email@hidden>
- Date: Tue, 24 Feb 2009 14:12:01 -0500
I have a background app (an input method) that has a window associated
with MainMenu.nib.
The first time the app launches when I select it from the input
methods list, the window launches. But if I close the window, it seems
there is no way to get it back.
My current settings in IB are:
- visible at launch
- deferred / buffered
Eventually I want the window to hide on deactivation but have
deselected that setting since it is not coming back at all. So hide on
deactivate is unchecked for the time being.
Within app delegate, I've tried to intervene at a number of places,
including
- (void) applicationDidFinishLaunching: (NSNotification *) not;
This method does not appear to get called when returning from another
input method, and so is of no use. It only works if you log out and
log back in. Not a solution.
I also tried a makeKeyAndOrderFront in the App delegeta's
awakeFromNib, but of course that only helps the first time around too.
The window does appear the first time. Probably unnecessary anyway
since in IB it is set to be visible at launch.
If anyone knows where I can gain a foothold to place my call to make
the window visible, I'd really appreciate it. Thanks.
Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden