@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The OLECMDID enumeration specifies which command to execute. (The commands in this enumeration are the standard commands defined by Office 95.) A single value from this enumeration is passed in the nCmdID argument of IOleCommandTarget::Exec. !!!!C# Definition: public enum OLECMDID { OLECMDID_OPEN = 1, OLECMDID_NEW = 2, OLECMDID_SAVE = 3, OLECMDID_SAVEAS = 4, OLECMDID_SAVECOPYAS = 5, OLECMDID_PRINT = 6, OLECMDID_PRINTPREVIEW = 7, OLECMDID_PAGESETUP = 8, OLECMDID_SPELL = 9, OLECMDID_PROPERTIES = 10, OLECMDID_CUT = 11, OLECMDID_COPY = 12, OLECMDID_PASTE = 13, OLECMDID_PASTESPECIAL = 14, OLECMDID_UNDO = 15, OLECMDID_REDO = 16, OLECMDID_SELECTALL = 17, OLECMDID_CLEARSELECTION = 18, OLECMDID_ZOOM = 19, OLECMDID_GETZOOMRANGE = 20, OLECMDID_UPDATECOMMANDS = 21, OLECMDID_REFRESH = 22, OLECMDID_STOP = 23, OLECMDID_HIDETOOLBARS = 24, OLECMDID_SETPROGRESSMAX = 25, OLECMDID_SETPROGRESSPOS = 26, OLECMDID_SETPROGRESSTEXT = 27, OLECMDID_SETTITLE = 28, OLECMDID_SETDOWNLOADSTATE = 29, OLECMDID_STOPDOWNLOAD = 30, OLECMDID_ONTOOLBARACTIVATED = 31, OLECMDID_FIND = 32, OLECMDID_DELETE = 33, OLECMDID_HTTPEQUIV = 34, OLECMDID_HTTPEQUIV_DONE = 35, OLECMDID_ENABLE_INTERACTION = 36, OLECMDID_ONUNLOAD = 37, OLECMDID_PROPERTYBAG2 = 38, OLECMDID_PREREFRESH = 39, OLECMDID_SHOWSCRIPTERROR = 40, OLECMDID_SHOWMESSAGE = 41, OLECMDID_SHOWFIND = 42, OLECMDID_SHOWPAGESETUP = 43, OLECMDID_SHOWPRINT = 44, OLECMDID_CLOSE = 45, OLECMDID_ALLOWUILESSSAVEAS = 46, OLECMDID_DONTDOWNLOADCSS = 47, OLECMDID_UPDATEPAGESTATUS = 48, OLECMDID_PRINT2 = 49, OLECMDID_PRINTPREVIEW2 = 50, OLECMDID_SETPRINTTEMPLATE = 51, OLECMDID_GETPRINTTEMPLATE = 52, OLECMDID_PAGEACTIONBLOCKED = 55, OLECMDID_PAGEACTIONUIQUERY = 56, OLECMDID_FOCUSVIEWCONTROLS = 57, OLECMDID_FOCUSVIEWCONTROLSQUERY = 58, OLECMDID_SHOWPAGEACTIONMENU = 59, !! From: http://stackoverflow.com/questions/738232/zoom-in-on-a-web-page-using-webbrowser-net-control OLECMDID_OPTICAL_ZOOM = 63, OLECMDID_OPTICAL_GETZOOMRANGE = 64, } !!!!VB Definition: Public Enum OLECMDID ' Fields OLECMDID_ALLOWUILESSSAVEAS = 46 OLECMDID_CLEARSELECTION = 18 OLECMDID_CLOSE = 45 OLECMDID_COPY = 12 OLECMDID_CUT = 11 OLECMDID_DELETE = 33 OLECMDID_DONTDOWNLOADCSS = 47 OLECMDID_ENABLE_INTERACTION = 36 OLECMDID_FIND = 32 OLECMDID_FOCUSVIEWCONTROLS = 57 OLECMDID_FOCUSVIEWCONTROLSQUERY = 58 OLECMDID_GETPRINTTEMPLATE = 52 OLECMDID_GETZOOMRANGE = 20 OLECMDID_HIDETOOLBARS = 24 OLECMDID_HTTPEQUIV = 34 OLECMDID_HTTPEQUIV_DONE = 35 OLECMDID_NEW = 2 OLECMDID_ONTOOLBARACTIVATED = 31 OLECMDID_ONUNLOAD = 37 OLECMDID_OPEN = 1 OLECMDID_PAGEACTIONBLOCKED = 55 OLECMDID_PAGEACTIONUIQUERY = 56 OLECMDID_PAGESETUP = 8 OLECMDID_PASTE = 13 OLECMDID_PASTESPECIAL = 14 OLECMDID_PREREFRESH = 39 OLECMDID_PRINT = 6 OLECMDID_PRINT2 = 49 OLECMDID_PRINTPREVIEW = 7 OLECMDID_PRINTPREVIEW2 = 50 OLECMDID_PROPERTIES = 10 OLECMDID_PROPERTYBAG2 = 38 OLECMDID_REDO = 16 OLECMDID_REFRESH = 22 OLECMDID_SAVE = 3 OLECMDID_SAVEAS = 4 OLECMDID_SAVECOPYAS = 5 OLECMDID_SELECTALL = 17 OLECMDID_SETDOWNLOADSTATE = 29 OLECMDID_SETPRINTTEMPLATE = 51 OLECMDID_SETPROGRESSMAX = 25 OLECMDID_SETPROGRESSPOS = 26 OLECMDID_SETPROGRESSTEXT = 27 OLECMDID_SETTITLE = 28 OLECMDID_SHOWFIND = 42 OLECMDID_SHOWMESSAGE = 41 OLECMDID_SHOWPAGEACTIONMENU = 59 OLECMDID_SHOWPAGESETUP = 43 OLECMDID_SHOWPRINT = 44 OLECMDID_SHOWSCRIPTERROR = 40 OLECMDID_SPELL = 9 OLECMDID_STOP = 23 OLECMDID_STOPDOWNLOAD = 30 OLECMDID_UNDO = 15 OLECMDID_UPDATECOMMANDS = 21 OLECMDID_UPDATEPAGESTATUS = 48 OLECMDID_ZOOM = 19 End Enum !!!!Notes: None. Documentation: OLECMDID@msdn on MSDN
Edit Enums.OLECMDID
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.