Hi there,

My NSDocument 'HF_Browser' works with a window in a XIB file. From within this HF_Browser.m file I can get a reference to the window, set it's title, etc.

In MainMenu.xib I have a menu command, 'Jump To' (invoked with Cmd-J). I dragged an Object object into MainMenu.xid and set it to HF_Browser then connected the Jump To menu command to it, to an IBAction in HF_Browser.m.

When I hit Cmd-J my method- (IBAction)MenuJumpTo:(id)sender is called perfectly but within this method I can't get any reference to the window at all. Can you please advise?

--
Paul Harvey
Hiddenfield Software
www.hiddenfield.com

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to