Re: Window not displaying
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