9#if !defined(OWL_RECENTFILE_H)
10#define OWL_RECENTFILE_H
13#if defined(BI_HAS_PRAGMA_ONCE)
27#define MruFileMessage _T("MRUFILEMESSAGE")
41 enum { MaxMenuItems = 10 };
54 void SetDispLength(
const int);
55 void EnableRegistry(
bool enable =
true);
73 void RemoveMruIndex(
int index);
89 static uint MruMessage;
98 bool keepFullNameInMenu;
Base class for an extensible interface for auto enabling/disabling of commands (menu items,...
TEventHandler is a base class from which you can derive classes that handle messages.
TRecentFiles implements a most-recent files list, designed to be mixed in with TApplication.
void EnableRegistry(bool enable=true)
void RemoveMenuChoice(const tstring &text)
int GetMruCount()
Returns the number of files that are currently in the MRU list.
void AddMruItem(const tstring &text)
int GetMruItemIndex(const tstring &text)
bool ExistMruItem(const tstring &text)
void SaveMenuChoice(const tstring &text)
void SetDispLength(const int)
Definition of TEventHandler and related classes & macros.
#define DECLARE_RESPONSE_TABLE(cls)
Object Windows Library (OWLNext Core)