Hi all, I'm writing a document based app. Each document is displayed in a window, and can have several other windows too. The primary window and the others are the same (same NIB, same window controller), each window is able to display a different part of the document data.
At the beginning, only a single window is opened, and the user can request other windows to display the document via a menu item. So now, when the first window is opened, it has a drop down menu in its title bar, to let the user Rename, Duplicate, etc..., the document. What happen is if a second window (and subsequent ones) is opened, it doesn't have this menu. I thought every window would get that menu, after all each one is tied to the document. More important, if the first opened window (the one with the menu) is closed, the menu is just lost. The user user is still able to act on the document via the File menu, though. So my question is : Is there a way to put the menu on other windows too, is there any available API to do that ? (I didn't find anything related in the documentation, and googling that didn't produce any result) Or maybe it is the right behavior, the first window get the menu, and other windows are considered "secondary windows" and don't get it ? (the documentation refers to my situation as "multiple-view document", and suggests that it's right to open several windows for the same document). Anybody can provide feedback on that ? Thank you for your answers. Vince. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
