home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
CMDDEFS.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
6KB
|
140 lines
/********************************************************************/
/* Licensed Materials - Property of IBM */
/* */
/* */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright (C) Apple Computer, Inc., 1994 */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* */
/********************************************************************/
#ifndef _CMDDEFS_
#define _CMDDEFS_
#ifndef _ODTYPESM_
#include "ODTypesM.idl"
#endif
#if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
#pragma somemittypes on
#endif
#ifndef _PLATFORM_OS2_
const ODCommandID kODCommandShellFirst = 1000;
const ODCommandID kODCommandShellLast = 20000;
const ODCommandID kODCommandAppleMenu = 1000;
const ODCommandID kODCommandAbout = 1001;
const ODCommandID kODCommandDocumentMenu = 2000;
const ODCommandID kODCommandNew = 2001;
const ODCommandID kODCommandOpen = 2002;
const ODCommandID kODCommandOpenDocument = 2003;
const ODCommandID kODCommandInsert = 2004;
const ODCommandID kODCommandClose = 2005;
const ODCommandID kODCommandDeleteDocument = 2006;
const ODCommandID kODCommandSave = 2007;
const ODCommandID kODCommandSaveACopy = 2008;
const ODCommandID kODCommandRevert = 2009;
const ODCommandID kODCommandDraft = 2010;
const ODCommandID kODCommandDocumentInfo = 2011;
const ODCommandID kODCommandPageSetup = 2012;
const ODCommandID kODCommandPrint = 2013;
const ODCommandID kODCommandEditMenu = 3000;
const ODCommandID kODCommandUndo = 3001;
const ODCommandID kODCommandRedo = 3002;
const ODCommandID kODCommandCut = 3003;
const ODCommandID kODCommandCopy = 3004;
const ODCommandID kODCommandPaste = 3005;
const ODCommandID kODCommandPasteAs = 3006;
const ODCommandID kODCommandClear = 3007;
const ODCommandID kODCommandSelectAll = 3008;
const ODCommandID kODCommandGetPartInfo = 3009;
const ODCommandID kODCommandPreferences = 3010;
const ODCommandID kODCommandViewAsWin = 3011;
#else
const ODMenuID MENUID_ROOTPART_FIRST = 0X3000;
const ODMenuID MENUID_ROOTPART_LAST = 0X3FFF;
const ODMenuID MENUID_SHPLGIN_FIRST = 0x4000;
const ODMenuID MENUID_SHPLGIN_LAST = 0x4FFF;
const ODMenuID MENUID_ACTIVEPART_FIRST = 0x5000;
const ODMenuID MENUID_ACTIVEPART_LAST = 0x7FFF;
const ODMenuID MENUID_ACTIVEPART_USER = 0x6F00;
const ODMenuID IDMS_DOCUMENT = 0x0001;
const ODMenuID DOC_OPENAS = 0x0003;
const ODMenuID DOC_OAICON = 0x0004;
const ODMenuID DOC_OATREE = 0x0005;
const ODMenuID DOC_OADETAILS = 0x0006;
const ODMenuID DOC_PRINT = 0x000D;
const ODMenuID DOC_SEPARATOR1 = 0x0016;
const ODMenuID DOC_SEPARATOR2 = 0x0017;
const ODMenuID IDMS_EDIT = 0x000E;
const ODMenuID EDIT_CREATE = 0x5000;
const ODMenuID EDIT_CUT = 0x5001;
const ODMenuID EDIT_COPY = 0x5003;
const ODMenuID EDIT_PASTE_MENU = 0x5005;
const ODMenuID EDIT_PASTE = 0x5006;
const ODMenuID EDIT_PASTELINK = 0x5007;
const ODMenuID EDIT_PASTEAS = 0x5008;
const ODMenuID EDIT_BREAKLINK = 0x500A;
const ODMenuID EDIT_DELETE = 0x500B;
const ODMenuID EDIT_SELECTALL = 0x500C;
const ODMenuID EDIT_DESELECTALL = 0x500D;
const ODMenuID EDIT_OPENSEL = 0x500E;
const ODMenuID EDIT_SELPROPERTIES = 0x500F;
const ODMenuID EDIT_SEL_SHOWAS = 0x5010;
const ODMenuID EDIT_SEL_SASMALLICON = 0x5011;
const ODMenuID EDIT_SEL_SALARGEICON = 0x5012;
const ODMenuID EDIT_SEL_SATHUMBNAIL = 0x5013;
const ODMenuID EDIT_SEL_SAFRAME = 0x5014;
const ODMenuID EDIT_SEPARATOR1 = 0x0018;
const ODMenuID EDIT_SEPARATOR2 = 0x0019;
const ODMenuID EDIT_SEPARATOR3 = 0x001A;
const ODMenuID EDIT_SEPARATOR4 = 0x001B;
const ODMenuID IDMS_VIEW = 0x0011;
const ODMenuID VIEW_OPENAS = 0x5015;
const ODMenuID VIEW_OAICON = 0x5016;
const ODMenuID VIEW_OATREE = 0x5017;
const ODMenuID VIEW_OADETAILS = 0x5018;
const ODMenuID VIEW_OAWINDOW = 0x5019;
const ODMenuID VIEW_PROPERTIES = 0x501A;
const ODMenuID VIEW_SHOWAS = 0x501B;
const ODMenuID VIEW_SASMALLICON = 0x501C;
const ODMenuID VIEW_SALARGEICON = 0x501D;
const ODMenuID VIEW_SATHUMBNAIL = 0x501E;
const ODMenuID VIEW_SAFRAME = 0x501F;
const ODMenuID VIEW_SHOWLINKS = 0x5020;
const ODMenuID VIEW_SHOWFRAMEOUTLINE = 0x5021;
const ODMenuID VIEW_SEPARATOR1 = 0x001C;
const ODMenuID VIEW_SEPARATOR2 = 0x001D;
const ODMenuID IDMS_HELP = 0x0012;
const ODMenuID HELP_INDEX = 0x5022;
const ODMenuID HELP_GENERAL = 0x5023;
const ODMenuID HELP_SEPARATOR1 = 0x001E;
#endif
#if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
#pragma somemittypes off
#endif
module OpenDoc_Commands
{
const string OpenDoc_Commands_Version = "1.0.";
};
#endif