Click here to Skip to main content
15,897,891 members
Articles / Desktop Programming / MFC

Owner Drawn Menu with Icons, Titles and Shading

Rate me:
Please Sign up or sign in to vote.
4.95/5 (205 votes)
5 Dec 2003CPOL12 min read 2.8M   35K   522  
An easy use of owner drawn menu with variable styles like new Office products with titles, shading and icons.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by MDIFloating.rc
//
#define IDR_MANIFEST                    1
#define IDD_ABOUTBOX                    100
#define IDP_OLE_INIT_FAILED             100
#define IDR_MAINFRAME                   128
#define IDR_MDIFloatingTYPE             129
#define IDR_NEWMENU256                  130
#define ID_FILE_NEW_FRAME_44			99
#define ID_NEWMENU_ALLMENUSAMEBORDER    160
#define ID_NEWMENU_ENABLEGLOOM          161
#define ID_NEWMENU_NEXTSTYLE            162
#define ID_NEWMENU_NORMALBORDER         163
#define ID_NEWMENU_SHOWSELECTION        165

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        130
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


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

Comments and Discussions