home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / triedcid.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  3.9 KB  |  87 lines

  1. // triedcid.h : Command IDs for TriEdit's IOleCommandTarget
  2. // Copyright 1998-1999 Microsoft Corporation.  All rights reserved.
  3.  
  4. #ifndef __TRIEDCID_H__
  5. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  6. #define __TRIEDCID_H__
  7.  
  8. // GUID_TriEditCommandGroup {2582F1C0-084E-11d1-9A0E-006097C9B344}
  9.  
  10. #define IDM_TRIED_NUDGE_ELEMENT             2   //[in,VT_BYREF VARIANT.byref=LPPOINT]
  11. #define IDM_TRIED_SET_ALIGNMENT             3   //[in,VT_BYREF VARIANT.byref=LPPOINT]
  12. #define IDM_TRIED_MAKE_ABSOLUTE             4
  13. #define IDM_TRIED_LOCK_ELEMENT              5
  14. #define IDM_TRIED_SEND_TO_BACK              6
  15. #define IDM_TRIED_BRING_TO_FRONT            7
  16. #define IDM_TRIED_SEND_BACKWARD             8
  17. #define IDM_TRIED_BRING_FORWARD             9
  18. #define IDM_TRIED_SEND_BELOW_TEXT          10 
  19. #define IDM_TRIED_BRING_ABOVE_TEXT         11
  20. #define IDM_TRIED_CONSTRAIN                12   //[in,VT_BOOL]
  21. #define IDM_TRIED_ABSOLUTE_DROP_MODE       13   //[in,VT_BOOL]
  22. #define IDM_TRIED_INSERTROW                14
  23. #define IDM_TRIED_INSERTCOL                15
  24. #define IDM_TRIED_DELETEROWS               16
  25. #define IDM_TRIED_DELETECOLS               17
  26. #define IDM_TRIED_MERGECELLS               18
  27. #define IDM_TRIED_SPLITCELL                19
  28. #define IDM_TRIED_INSERTCELL               20
  29. #define IDM_TRIED_DELETECELLS              21
  30. #define IDM_TRIED_INSERTTABLE              22   //[in, VT_ARRAY]
  31. #define IDM_TRIED_ACTIVATEACTIVEXCONTROLS  23
  32. #define IDM_TRIED_ACTIVATEAPPLETS          24
  33. #define IDM_TRIED_ACTIVATEDTCS             25
  34. #define IDM_TRIED_BACKCOLOR                26
  35. #define IDM_TRIED_BLOCKFMT                 27
  36. #define IDM_TRIED_BOLD                     28
  37. #define IDM_TRIED_BROWSEMODE               29
  38. #define IDM_TRIED_COPY                     30
  39. #define IDM_TRIED_CUT                      31
  40. #define IDM_TRIED_DELETE                   32
  41. #define IDM_TRIED_EDITMODE                 33
  42. #define IDM_TRIED_FIND                     34
  43. #define IDM_TRIED_FONT                     35
  44. #define IDM_TRIED_FONTNAME                 36
  45. #define IDM_TRIED_FONTSIZE                 37
  46. #define IDM_TRIED_FORECOLOR                38
  47. #define IDM_TRIED_GETBLOCKFMTS             39
  48. #define IDM_TRIED_HYPERLINK                40
  49. #define IDM_TRIED_IMAGE                    41
  50. #define IDM_TRIED_INDENT                   42
  51. #define IDM_TRIED_ITALIC                   43
  52. #define IDM_TRIED_JUSTIFYCENTER            44
  53. #define IDM_TRIED_JUSTIFYLEFT              45
  54. #define IDM_TRIED_JUSTIFYRIGHT             46
  55. #define IDM_TRIED_ORDERLIST                47
  56. #define IDM_TRIED_OUTDENT                  48
  57. #define IDM_TRIED_PASTE                    50
  58. #define IDM_TRIED_PRINT                    51
  59. #define IDM_TRIED_REDO                     52
  60. #define IDM_TRIED_REMOVEFORMAT             53
  61. #define IDM_TRIED_SELECTALL                54
  62. #define IDM_TRIED_SHOWBORDERS              55
  63. #define IDM_TRIED_SHOWDETAILS              56
  64. #define IDM_TRIED_UNDERLINE                57
  65. #define IDM_TRIED_UNDO                     58
  66. #define IDM_TRIED_UNLINK                   59
  67. #define IDM_TRIED_UNORDERLIST              60
  68. #define IDM_TRIED_DOVERB                   61
  69.  
  70. //WARNING WARNING WARNING!!! Don't forget to modify IDM_TRIED_LAST_CID
  71. //when you add new Command IDs
  72.  
  73. #define IDM_TRIED_LAST_CID             IDM_TRIED_DOVERB
  74.  
  75. //These are old command IDs that are here for backward compatibility
  76. //We don't recommend using these any more
  77. #define IDM_TRIED_IS_1D_ELEMENT         0   //[out,VT_BOOL]
  78. #define IDM_TRIED_IS_2D_ELEMENT         1   //[out,VT_BOOL]
  79. #define IDM_TRIED_SEND_TO_FRONT         IDM_TRIED_BRING_TO_FRONT
  80. #define IDM_TRIED_SEND_FORWARD          IDM_TRIED_BRING_FORWARD
  81. #define IDM_TRIED_SEND_BEHIND_1D        IDM_TRIED_SEND_BELOW_TEXT
  82. #define IDM_TRIED_SEND_FRONT_1D         IDM_TRIED_BRING_ABOVE_TEXT
  83. #define IDM_TRIED_SET_2D_DROP_MODE      IDM_TRIED_ABSOLUTE_DROP_MODE
  84.  
  85. #pragma option pop /*P_O_Pop*/
  86. #endif //__TRIEDCID_H__
  87.