Re: Launched window not activating
Re: Launched window not activating
- Subject: Re: Launched window not activating
- From: Lorenzo <email@hidden>
- Date: Mon, 11 Apr 2005 19:03:57 +0200
Probably, the current task doesn't allow that window becomes key.
Maybe you have to open that window in a thread. Or launch your
register-class in a thread.
Did you try to use a window placed in the MainMenu.nib file? If the result
is the same, most likely the problem is not caused by the new nib file but
by the current task.
Best Regards
--
Lorenzo
email: email@hidden
> ------------------------------
>
> Message: 7
> Date: Mon, 11 Apr 2005 11:54:31 -0400
> From: Ken Tozier <email@hidden>
> Subject: Launched window not activating
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Sorry if this is an obvious one.
>
> I wrote a class that registers for camera connected events and launches
> a window in a secondary nib file to give the user feedback on the
> download progress. The window is created when a connected event is
> detected and destroyed when the download is complete. The problem I'm
> having is that it never becomes active and none of NSWindow's ordering
> commands (makeKeyAndOrderFront etc) seems to have any effect. Even
> clicking on the window doesn't make it frontmost.
>
> I've tried various combination of attribute checkboxes in the IB info
> panel but nothing seems to have any effect.
>
> Anyone have an idea why this is happening and how to fix it?
>
> Thanks
>
> Ken
_______________________________________________
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