On Jun 5, 2009, at 12:03 PM, Martin Batholdy wrote:
The method that generates this item in the menuHandler refers to the function "showWindow" inside itself
(setTarget:self).

Did you also do setAction:? If so, are you sure you capitalized and spelled the name of the action method correctly, including the colon at the end?

But all calls to the window are just ignored without a message in the log (like [myWindow makeKeyAndOrderFront:self]; [myWindow orderBack:self]; etc.)

Use the debugger or NSLog to make extra sure myWindow is not nil (in case you made a mistake in the nib file).

Other than that, I'd suggest posting some code.

--Andy


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to