RESOURCE.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:5k
源码类别:
Windows编程
开发平台:
Visual C++
- /*
- * RESOURCE.H
- * Patron Chapter 17
- *
- * Definitions specifically pertaining to resources.
- *
- * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
- *
- * Kraig Brockschmidt, Microsoft
- * Internet : kraigb@microsoft.com
- * Compuserve: >INTERNET:kraigb@microsoft.com
- */
- #ifndef _RESOURCE_H_
- #define _RESOURCE_H_
- //Note that we augment classlib.h which we include before this.
- //Position of Window menu.
- #undef WINDOW_MENU
- #define WINDOW_MENU 3
- //CHAPTER17MOD
- //Position of the "Object" item on the Edit menu.
- #define MENUPOS_OBJECT 8
- #define MENUPOS_OBJECTONPOPUP 5
- //Popup menu
- #define IDR_RIGHTPOPUPMENU 2
- //End CHAPTER17MOD
- //Total number of menus
- #undef CMENUS
- #ifdef MDI
- #define CMENUS 5
- #else
- #define CMENUS 4
- #endif
- //Menu command identifiers.
- #define IDM_FILEPRINT (IDM_CUSTOMFILEMIN)
- #define IDM_FILEPRINTERSETUP (IDM_CUSTOMFILEMIN+1)
- #define IDM_EDITPASTESPECIAL (IDM_CUSTOMEDITMIN)
- #define IDM_EDITDELETEOBJECT (IDM_CUSTOMEDITMIN+1)
- //CHAPTER17MOD
- #define IDM_EDITINSERTOBJECT (IDM_CUSTOMEDITMIN+2)
- #define IDM_EDITOBJECT (IDM_CUSTOMEDITMIN+3)
- #define IDM_EDITCONVERT (IDM_CUSTOMEDITMIN+4)
- //End CHAPTER17MOD
- #define IDM_PAGENEWPAGE (IDM_CUSTOMMIN)
- #define IDM_PAGEDELETEPAGE (IDM_CUSTOMMIN+1)
- #define IDM_PAGENEXTPAGE (IDM_CUSTOMMIN+2)
- #define IDM_PAGEPREVIOUSPAGE (IDM_CUSTOMMIN+3)
- #define IDM_PAGEFIRSTPAGE (IDM_CUSTOMMIN+4)
- #define IDM_PAGELASTPAGE (IDM_CUSTOMMIN+5)
- //CHAPTER17MOD
- //This special item is for the dynamic verbs on the Edit/Object item.
- #define IDM_VERBMIN (IDM_CUSTOMMIN+100)
- #define IDM_VERBMAX (IDM_CUSTOMMIN+200)
- //End CHAPTER17MOD
- /*
- * IDs for StatStrip handling of popup menus: must be in order of menu
- * CLASSRES.H already defines ID_MENUFILE and ID_MENUEDIT for us.
- */
- #undef ID_MENUWINDOW
- #undef ID_MENUHELP
- #define ID_MENUPAGE (ID_MENUCUSTOMMIN+0)
- #define ID_MENUWINDOW (ID_MENUCUSTOMMIN+1)
- #define ID_MENUHELP (ID_MENUCUSTOMMIN+2)
- //Stringtable IDs. Keep sequential for each group.
- #define IDS_FRAMEMIN IDS_STANDARDFRAMEMIN
- #define IDS_FRAMEMAX IDS_STANDARDFRAMEMAX
- #define IDS_DOCUMENTMIN IDS_STANDARDDOCMIN
- #define IDS_PRINTERROR (IDS_CUSTOMDOCMIN+0)
- #define IDS_DOCUMENTNAME (IDS_CUSTOMDOCMIN+1)
- #define IDS_PASTEASPATRON (IDS_CUSTOMDOCMIN+2)
- #define IDS_PASTEMETAFILE (IDS_CUSTOMDOCMIN+3)
- #define IDS_PASTEASMETAFILE (IDS_CUSTOMDOCMIN+4)
- #define IDS_PASTEDIB (IDS_CUSTOMDOCMIN+5)
- #define IDS_PASTEASDIB (IDS_CUSTOMDOCMIN+6)
- #define IDS_PASTEBITMAP (IDS_CUSTOMDOCMIN+7)
- #define IDS_PASTEASBITMAP (IDS_CUSTOMDOCMIN+8)
- //CHAPTER17MOD
- #define IDS_PASTEOBJECT (IDS_CUSTOMDOCMIN+9)
- #define IDS_PASTEASOBJECT (IDS_CUSTOMDOCMIN+10)
- #define IDS_DOCUMENTMAX (IDS_CUSTOMDOCMIN+10)
- //End CHAPTER17MOD
- //These are specifically for the StatStrip
- #define IDS_STATMESSAGEMIN IDS_STANDARDSTATMESSAGEMIN
- #define IDS_ITEMMESSAGEFILEPRINT (IDS_CUSTOMSTATMESSAGEMIN+0)
- #define IDS_ITEMMESSAGEFILEPRINTERSETUP (IDS_CUSTOMSTATMESSAGEMIN+1)
- #define IDS_MENUMESSAGEPAGE (IDS_CUSTOMSTATMESSAGEMIN+2)
- #define IDS_ITEMMESSAGEPAGENEWPAGE (IDS_CUSTOMSTATMESSAGEMIN+3)
- #define IDS_ITEMMESSAGEPAGEDELETEPAGE (IDS_CUSTOMSTATMESSAGEMIN+4)
- #define IDS_ITEMMESSAGEPAGENEXTPAGE (IDS_CUSTOMSTATMESSAGEMIN+5)
- #define IDS_ITEMMESSAGEPAGEPREVIOUSPAGE (IDS_CUSTOMSTATMESSAGEMIN+6)
- #define IDS_ITEMMESSAGEPAGEFIRSTPAGE (IDS_CUSTOMSTATMESSAGEMIN+7)
- #define IDS_ITEMMESSAGEPAGELASTPAGE (IDS_CUSTOMSTATMESSAGEMIN+8)
- #define IDS_ITEMMESSAGEEDITPASTESPECIAL (IDS_CUSTOMSTATMESSAGEMIN+9)
- #define IDS_ITEMMESSAGEEDITDELETEOBJECT (IDS_CUSTOMSTATMESSAGEMIN+10)
- //CHAPTER17MOD
- #define IDS_ITEMMESSAGEEDITINSERTOBJECT (IDS_CUSTOMSTATMESSAGEMIN+11)
- #define IDS_ITEMMESSAGEEDITOBJECT (IDS_CUSTOMSTATMESSAGEMIN+12)
- #define IDS_ITEMMESSAGEEDITCONVERT (IDS_CUSTOMSTATMESSAGEMIN+13)
- #define IDS_STATMESSAGEMAX (IDS_CUSTOMSTATMESSAGEMIN+13)
- //End CHAPTER17MOD
- //Definitions for the printing dialog.
- #define IDD_PRINTING 2
- #define ID_CURRENTPAGE 101
- #define ID_CURRENTCOPY 102
- #define ID_COPYSTRING 103
- #define ID_PAGESTRING 104
- #define PRINTM_PAGEUPDATE (WM_USER+100)
- #define PRINTM_COPYUPDATE (WM_USER+101)
- #endif //_RESOURCE_H_