Re: How to add a window to a window list(or open document list) on a dock tile menu?
Re: How to add a window to a window list(or open document list) on a dock tile menu?
- Subject: Re: How to add a window to a window list(or open document list) on a dock tile menu?
- From: JongAm Park <email@hidden>
- Date: Tue, 27 Jan 2015 13:25:52 -0800
:) Thank you very much for your reply.
I need the recent documents list. So, I will not remove it.
I am still curious how the window list doesn’t appear on the dock menu of the interested app.
Probably they removed Window menu from “menu bar”?
I checked if a window is excluded from window list with isExcludedFromWindowsMenu:, but it returned false. So, windows I queried are in a window list.
Anyway, yup! I’ll try with the delegation message you told me.
Thank you. ;)
> On Jan 27, 2015, at 12:55 PM, Lee Ann Rucker <email@hidden> wrote:
>
> -[NSApplicationDelegate applicationDockMenu:]
>
> You can customize everything except the recent documents; you get that for free and can't get rid of it - no, not even if the user clears recent documents from the main menu.
>
> On Jan 27, 2015, at 10:38 AM, JongAm Park <email@hidden> wrote:
>
>> Hello, all. It has been long time for me to write anything in this mailing list, but I prefer this than web based one Apple now pushes.
>>
>> Anyway.. I have some issue with “Window list”
>>
>> If a window is created, it’s added to a window list under the “Window” menu and its equivalent counter part on the Dock menu.
>> However, in a project I work on nowadays, ( which is heavily customized on top of Cocoa and old Carbon ), it has a window list menu items under “Window” menu, but somehow there is no such thing on the Dock menu.
>>
>> It’s not document based app. (Well.. I mean it’s not based on NSDocument. We have our own mechanism for managing our in-house document type. )
>> I tried setExcludedFroWindowsMenu: of NSWindow to see if it has any effect on the Dock menu, but it didn’t.
>>
>> Is there anyway to have Dock menu contain the window list menu items?
>>
>> I searched Apple’s documents, but there looks to be no explicit way to remove/add window list.
>>
>> Thank you.
>> JongAm Park
>> _______________________________________________
>>
>> 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:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_cocoa-2Ddev_lrucker-2540vmware.com&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=ie7S-J__EKnfyVOBV7-jV2rZ--p47O6vkyTklpDM3h4&m=hjEqDZ8jEpHgyNJtfaA4FaxGdsZAsosDKscQglYgNj8&s=8RSNVk4UJgxTxrQv7wfY3bFC1h_KbfGPw4gqQBO3jfc&e=
>>
>> This email sent to email@hidden
>
_______________________________________________
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