Adding document in Window menu

Cand anyone please tell me who is responsible for adding the document's name in Window menu from a multidocument MFC app?
Could it be AddToRecentFileList?
Thank you in advance!
Snakekaa
[207 byte] By [Snakekaa] at [2007-11-20 1:38:39]
# 1 Re: Adding document in Window menu
Cand anyone please tell me who is responsible for adding the document's name in Window menu from a multidocument MFC app?That's CMDIFrameWnd::OnUpdateFrameMenu().

Could it be AddToRecentFileList?No - that is for the MRU list in the File menu.
gstercken at 2007-11-10 23:17:45 >
# 2 Re: Adding document in Window menu
Thank you very much, gstercken.

Yes, I knew that AddToRecentFileList adds them in Recent file list, but I suspect adding them in Window menu is a side-effect.

Thanks again!

Snakekaa
Snakekaa at 2007-11-10 23:18:45 >