Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Custom MRU file list
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom MRU file list

 Post Reply Post Reply
Author
Message
AlexK View Drop Down
Newbie
Newbie


Joined: 04 September 2006
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote AlexK Quote  Post ReplyReply Direct Link To This Post Topic: Custom MRU file list
    Posted: 04 September 2006 at 12:36pm
I need to have a custom MRU file list in one of the menus. The standard MFC way does not work since (in OnUpdateMyMenuItem) pCmdUI->m_pMenu is always NULL.
 
XTP implements MRU using CXTPControlRecentFileList that is created if the menu item ID is ID_FILE_MRU_FILE1. How can I use my own menu item ID and a custom MRU file list (stored in a custom registry folder -- not in "Recent File List") to implement similar functionality?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.656 seconds.