home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.1 / PTREEDEF.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-29  |  1.7 KB  |  70 lines

  1. //   (c) 1996  ProtoView Development Co., All rights reserved
  2. //    ProtoView TreeView OCX define file.
  3.  
  4. #ifndef _PTREEDEFINES
  5. #define _PTREEDEFINES
  6.  
  7. // Defines of constants for Add Method
  8.  
  9. #define pvtPositionInOrder  0
  10. #define pvtPositionBefore   1
  11. #define pvtPositionAfter    2
  12.  
  13.  
  14. // Defines of constants for Get Method
  15.  
  16. #define pvtGetNextSibling  0
  17. #define pvtGetPrevSibling  1
  18. #define pvtGetNextVisible  2
  19. #define pvtGetPrevVisible  3
  20. #define pvtGetNextSelected 4
  21. #define pvtGetPrevSelected 5
  22. #define pvtGetParent       6
  23. #define pvtGetNext         7
  24. #define pvtGetPrevious     8
  25. #define pvtGetChild        9
  26.  
  27.  
  28. // Defines of constants for Open Method
  29.  
  30. #define pvtEnsureVisible 0
  31. #define pvtNode          1
  32. #define pvtChildren      2
  33. #define pvtAllChildren   3
  34. #define pvtUnselect      4
  35. #define pvtAnchor        5
  36. #define pvtCaret         6
  37.  
  38.  
  39. // Defines of constants for Standard Pictures
  40.  
  41. #define pvtNone         -1
  42. #define pvtpicFolders    0
  43. #define pvtpicBoxes1     1
  44. #define pvtpicDocument   2
  45. #define pvtpicHardDisk   3
  46. #define pvtpicProgram    4
  47. #define pvtpicSystemFile 5
  48. #define pvtpicBoxes2     6
  49. #define pvtpicBoxes3     7
  50. #define pvtpicASCIIFile  8
  51. #define pvtpicHelpFile   9
  52.  
  53.  
  54. // Defines of constants for Find Method
  55.  
  56. #define pvtFindNext                             0
  57. #define pvtFindNextExact            1
  58. #define pvtFindPrevious             2
  59. #define pvtFindPreviousExact        3
  60. #define pvtFindNextSibling          4
  61. #define pvtFindNextSiblingExact     5
  62. #define pvtFindPreviousSibling                  6
  63. #define pvtFindPreviousSiblingExact 7
  64. #define pvtFindNextVisible          8
  65. #define pvtFindNextVisibleExact     9
  66. #define pvtFindPreviousVisible      10
  67. #define pvtFindPreviousVisibleExact 11
  68.  
  69. #endif // _PTREEDEFINES
  70.