• 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: Window not displaying
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window not displaying


  • Subject: Re: Window not displaying
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 30 Jun 2009 09:14:33 -0600


On Jun 30, 2009, at 6:13 AM, rethish wrote:

When I use the makeKeyAndOrderFront:  method in a  action method of a
NSButton , new window is displayed.
But I used the same method in a void function and when its called ,the
window is not displayed.
Why is it so?


Are you sure the window object has been instantiated at that time, and are you sure that you are not calling the method in a thread other than the main thread? Can you please show your code?

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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


  • Follow-Ups:
    • Re: Window not displaying
      • From: rethish <email@hidden>
References: 
 >Window not displaying (From: rethish <email@hidden>)

  • Prev by Date: Re: multitouch trackpad on macbook pro
  • Next by Date: Re: multitouch trackpad on macbook pro
  • Previous by thread: Window not displaying
  • Next by thread: Re: Window not displaying
  • Index(es):
    • Date
    • Thread