Click here to Skip to main content
15,881,967 members
Articles / Desktop Programming / MFC

Owner Drawn Menu with Icons, Fade 2D-3D Horizontal/Vertical

Rate me:
Please Sign up or sign in to vote.
4.56/5 (10 votes)
29 Nov 20032 min read 87.8K   4.3K   45  
This article describes an owner drawn menu with icons, fade 2D-3D horizontal/vertical.
// RecentFileListEx.h: interface for the CRecentFileListEx class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_RECENTFILELISTEX_H__01509605_6091_4BEA_BD9A_7BBC6BBF5D1E__INCLUDED_)
#define AFX_RECENTFILELISTEX_H__01509605_6091_4BEA_BD9A_7BBC6BBF5D1E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <afxadv.h>
extern const TCHAR _afxFileSection[];
extern const TCHAR _afxFileEntry[];
extern const TCHAR _afxPreviewSection[];
extern const TCHAR _afxPreviewEntry[];

class CRecentFileListEx : public CRecentFileList  
{
public:
	CRecentFileListEx(UINT nStart, LPCTSTR lpszSection, LPCTSTR lpszEntryFormat, int nSize, int nMaxDispLen = AFX_ABBREV_FILENAME_LEN)
		: CRecentFileList(nStart, lpszSection, lpszEntryFormat, nSize, nMaxDispLen)
	{
	}

	virtual void UpdateMenu(CCmdUI* pCmdUI);
};

#endif // !defined(AFX_RECENTFILELISTEX_H__01509605_6091_4BEA_BD9A_7BBC6BBF5D1E__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions