• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Launched window not activating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Launched window not activating
      • From: Ken Tozier <email@hidden>
  • Prev by Date: Re: Drag to Finder and create a file
  • Next by Date: Re: Question about relation between File's Owner, First Responder and controller object...
  • Previous by thread: Launched window not activating
  • Next by thread: Re: Launched window not activating
  • Index(es):
    • Date
    • Thread