Print Page | Close Window

Custom MRU file list

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4964
Printed Date: 11 November 2025 at 2:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Custom MRU file list
Posted By: AlexK
Subject: Custom MRU file list
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net