triedcid.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:4k
源码类别:

模拟服务器

开发平台:

C/C++

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