Click here to Skip to main content
15,881,812 members
Articles / Mobile Apps / Windows Mobile

Cool Owner Drawn Menus with Bitmaps - Version 3.03

Rate me:
Please Sign up or sign in to vote.
4.92/5 (76 votes)
28 Apr 2002CPOL15 min read 1.2M   16.9K   268  
This class implements an owner drawn menu class that mimics the menu style used in XP, Office and Visual C++
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by mymenu.rc
//
#define IDM_SYSMENU_ABOUT               16
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDR_MYMENUTYPE                  129
#define IDR_RIGHT_CLICK                 130
#define IDR_MYTYPE                      131
#define IDR_CUSTOMMENU                  132
#define IDB_NET                         133
#define IDI_ICON2                       134
#define IDI_ICON1                       135
#define IDI_256COLOR                    136
#define IDB_BITMAP1                     137
#define IDB_FILE_SAVE                   138
#define IDB_BITMAP3                     139
#define IDB_BITMAP2                     140
#define IDB_CHECKS                      141
#define IDB_CHECKU                      142
#define IDB_BITMAP4                     143
#define IDB_BLANK                       144
#define IDB_BITMAP6                     145
#define IDB_BITMAP7                     146
#define IDB_BITMAP8                     147
#define IDB_FILE_NEW                    148
#define IDB_FILE_OPEN                   149
#define IDB_EDIT_CUT                    150
#define IDB_EDIT_COPY                   151
#define IDB_EDIT_PASTE                  152
#define IDB_WINDOW_NEW                  153
#define IDB_ZOOM                        154
#define IDB_FILE_PRINT                  155
#define IDB_APP_ABOUT                   156
#define IDB_WINDOW_TILE                 157
#define IDR_TOOLBAR                     158
#define IDB_BITMAP5                     159
#define IDR_JUNK                        160
#define IDB_HICOLORBITMAP               163
#define ID_ZOOM                         32771
#define ID_WINDOW_NEW2                  32777
#define ID_DEFAULT                      32778
#define ID_HOMEPAGE                     32779
#define ID_JUNK                         32781
#define ID_DISABLE                      32783
#define ID_ENABLE                       32784
#define ID_ADD_MENU_OPTIONS             32785
#define ID_REMOVE_ZOOM                  32786
#define ID_MENU2                        32787
#define ID_NET                          32788
#define ID_ZOOMS                        32789
#define ID_NEW                          32790
#define ID_TILE                         32791
#define ID_NEW_DOC_TEMPLATE             32795
#define ID_MEDIA                        32796
#define ID_COLOREDSQUARE                32797
#define ID_HATCHEDSQUARE                32798
#define ID_SMALLCOLOREDSQUARE           32799
#define ID_ADDTESTMENU                  32800
#define ID_ADDTOOLSMENU                 32801
#define ID_3DBITMAPS                    32802
#define ID_PICKDISABLED                 32803
#define ID_FINDPOPUP                    32804
#define ID_JUNK1                        32805
#define ID_JUNK2                        32806

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        170
#define _APS_NEXT_COMMAND_VALUE         32807
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           106
#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
Web Developer
Canada Canada
I'm the senior software development manager for Rocscience Inc., a company specializing in geomechanics software. I have a PH.D in Civil Engineering, and have been programming since 1978. I've used more computers and languages then 2000 characters lets me list. Besides programming, I enjoy golfing, watching my 3 kids play sports, spending time with my wife, and watching plenty of hockey and football.

Comments and Discussions