' ########################################################################################
' Microsoft Windows
' File: triedcid.inc
' Copyright (c) 2011 Jos? Roca
' Contents: Command IDs for TriEdit's IOleCommandTarget
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_triedcid_PBI)
#DEFINE PBX_triedcid_PBI
%EQUATE `TRIEDCID_INC = 1
'// GUID_TriEditCommandGroup {2582F1C0-084E-11d1-9A0E-006097C9B344}
%EQUATE `IDM_TRIED_NUDGE_ELEMENT = 2 ' //[in,VT_BYREF VARIANT.byref=LPPOINT]
%EQUATE `IDM_TRIED_SET_ALIGNMENT = 3 ' //[in,VT_BYREF VARIANT.byref=LPPOINT]
%EQUATE `IDM_TRIED_MAKE_ABSOLUTE = 4
%EQUATE `IDM_TRIED_LOCK_ELEMENT = 5
%EQUATE `IDM_TRIED_SEND_TO_BACK = 6
%EQUATE `IDM_TRIED_BRING_TO_FRONT = 7
%EQUATE `IDM_TRIED_SEND_BACKWARD = 8
%EQUATE `IDM_TRIED_BRING_FORWARD = 9
%EQUATE `IDM_TRIED_SEND_BELOW_TEXT = 10
%EQUATE `IDM_TRIED_BRING_ABOVE_TEXT = 11
%EQUATE `IDM_TRIED_CONSTRAIN = 12 ' //[in,VT_BOOL]
%EQUATE `IDM_TRIED_ABSOLUTE_DROP_MODE = 13 ' //[in,VT_BOOL]
%EQUATE `IDM_TRIED_INSERTROW = 14
%EQUATE `IDM_TRIED_INSERTCOL = 15
%EQUATE `IDM_TRIED_DELETEROWS = 16
%EQUATE `IDM_TRIED_DELETECOLS = 17
%EQUATE `IDM_TRIED_MERGECELLS = 18
%EQUATE `IDM_TRIED_SPLITCELL = 19
%EQUATE `IDM_TRIED_INSERTCELL = 20
%EQUATE `IDM_TRIED_DELETECELLS = 21
%EQUATE `IDM_TRIED_INSERTTABLE = 22 ' //[in, VT_ARRAY]
%EQUATE `IDM_TRIED_ACTIVATEACTIVEXCONTROLS = 23
%EQUATE `IDM_TRIED_ACTIVATEAPPLETS = 24
%EQUATE `IDM_TRIED_ACTIVATEDTCS = 25
%EQUATE `IDM_TRIED_BACKCOLOR = 26
%EQUATE `IDM_TRIED_BLOCKFMT = 27
%EQUATE `IDM_TRIED_BOLD = 28
%EQUATE `IDM_TRIED_BROWSEMODE = 29
%EQUATE `IDM_TRIED_COPY = 30
%EQUATE `IDM_TRIED_CUT = 31
%EQUATE `IDM_TRIED_DELETE = 32
%EQUATE `IDM_TRIED_EDITMODE = 33
%EQUATE `IDM_TRIED_FIND = 34
%EQUATE `IDM_TRIED_FONT = 35
%EQUATE `IDM_TRIED_FONTNAME = 36
%EQUATE `IDM_TRIED_FONTSIZE = 37
%EQUATE `IDM_TRIED_FORECOLOR = 38
%EQUATE `IDM_TRIED_GETBLOCKFMTS = 39
%EQUATE `IDM_TRIED_HYPERLINK = 40
%EQUATE `IDM_TRIED_IMAGE = 41
%EQUATE `IDM_TRIED_INDENT = 42
%EQUATE `IDM_TRIED_ITALIC = 43
%EQUATE `IDM_TRIED_JUSTIFYCENTER = 44
%EQUATE `IDM_TRIED_JUSTIFYLEFT = 45
%EQUATE `IDM_TRIED_JUSTIFYRIGHT = 46
%EQUATE `IDM_TRIED_ORDERLIST = 47
%EQUATE `IDM_TRIED_OUTDENT = 48
%EQUATE `IDM_TRIED_PASTE = 50
%EQUATE `IDM_TRIED_PRINT = 51
%EQUATE `IDM_TRIED_REDO = 52
%EQUATE `IDM_TRIED_REMOVEFORMAT = 53
%EQUATE `IDM_TRIED_SELECTALL = 54
%EQUATE `IDM_TRIED_SHOWBORDERS = 55
%EQUATE `IDM_TRIED_SHOWDETAILS = 56
%EQUATE `IDM_TRIED_UNDERLINE = 57
%EQUATE `IDM_TRIED_UNDO = 58
%EQUATE `IDM_TRIED_UNLINK = 59
%EQUATE `IDM_TRIED_UNORDERLIST = 60
%EQUATE `IDM_TRIED_DOVERB = 61
'//WARNING WARNING WARNING!!! Don't forget to modify IDM_TRIED_LAST_CID
'//when you add new Command IDs
%EQUATE `IDM_TRIED_LAST_CID = %IDM_TRIED_DOVERB
'//These are old command IDs that are here for backward compatibility
'//We don't recommend using these any more
%EQUATE `IDM_TRIED_IS_1D_ELEMENT = 0 ' //[out,VT_BOOL]
%EQUATE `IDM_TRIED_IS_2D_ELEMENT = 1 ' //[out,VT_BOOL]
%EQUATE `IDM_TRIED_SEND_TO_FRONT = %IDM_TRIED_BRING_TO_FRONT
%EQUATE `IDM_TRIED_SEND_FORWARD = %IDM_TRIED_BRING_FORWARD
%EQUATE `IDM_TRIED_SEND_BEHIND_1D = %IDM_TRIED_SEND_BELOW_TEXT
%EQUATE `IDM_TRIED_SEND_FRONT_1D = %IDM_TRIED_BRING_ABOVE_TEXT
%EQUATE `IDM_TRIED_SET_2D_DROP_MODE = %IDM_TRIED_ABSOLUTE_DROP_MODE
#ENDIF
