home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / DOODLE / DAREA / DAREA.VBE < prev   
Text File  |  1995-05-05  |  4KB  |  111 lines

  1. //
  2. //VBBeginPartInfo: DrawingArea, "IBM sample drawing area control"
  3. //VBParent: ICanvas
  4. //VBIncludes: <darea.hpp> _DAREA_
  5. //VBPartDataFile: 'DArea.vbb'
  6. //VBLibFile: 'darea.lib'
  7. // ** VBComposerInfo: visual, 305, dde4vr30, composer, dde4vi30, outline
  8. //VBComposerInfo: nonvisual, 305, dde4vr30
  9. //VBGeneratorClass: AvlVisualPartCodeGenerator
  10. //VBConstructor: DrawingArea (
  11. //VB:  unsigned long id
  12. //VB:  , IWindow* parent
  13. //VB:  , IWindow* owner
  14. //VB:  , const IRectangle& rect=IRectangle()
  15. //VB:  , const ICanvas::Style& style=ICanvas::defaultStyle ( )
  16. //VB:  )
  17. //VBAttribute: drawObject,
  18. //VB:          "Returns the current draw object.",
  19. //VB:          DrawingArea::DrawObject,
  20. //VB:          drawObject(),
  21. //VB:          setDrawObject(const DrawingArea::DrawObject drawObject)
  22. //VB:          ,,
  23. //VBAttribute: enabled,
  24. //VB:          "If the window is sent mouse and keyboard input, true is returned.",
  25. //VB:          Boolean,
  26. //VB:          Boolean ICanvas::isEnabled() const,
  27. //VB:          virtual IWindow& ICanvas::enable(Boolean enabled = true),
  28. //VB:          enableId
  29. //
  30. //VBAction: setArrow
  31. //VB:       ,"Set drawing object to arrow.",,
  32. //VB:       setDrawObject(=DrawingArea::move)
  33. //VBAction: setStyleCan
  34. //VB:       ,"Set drawing object to arrow.",,
  35. //VB:       setDrawObject(=DrawingArea::stylecan)
  36. //VBAction: setErase
  37. //VB:       ,"Set drawing object to eraser.",,
  38. //VB:       setDrawObject(=DrawingArea::eraser)
  39. //VBAction: setRectangle
  40. //VB:       ,"Set drawing object to rectangle.",,
  41. //VB:       setDrawObject(=DrawingArea::rectangle)
  42. //VBAction: setEllipse
  43. //VB:       ,"Set drawing object to ellipse.",,
  44. //VB:       setDrawObject(=DrawingArea::ellipse)
  45. //VBAction: setLine
  46. //VB:       ,"Set drawing object to line.",,
  47. //VB:       setDrawObject(=DrawingArea::line)
  48. //VBAction: setFreeHand
  49. //VB:       ,"Set drawing object to freehand.",,
  50. //VB:       setDrawObject(=DrawingArea::freehand)
  51. //VBAction: setPolyline
  52. //VB:       ,"Set drawing object to polyline.",,
  53. //VB:       setDrawObject(=DrawingArea::polyline)
  54. //VBAction: setPolygon
  55. //VB:       ,"Set drawing object to polygon.",,
  56. //VB:       setDrawObject(=DrawingArea::polygon)
  57. //VBAction: setArc
  58. //VB:       ,"Set drawing object to arc.",,
  59. //VB:       setDrawObject(=DrawingArea::arc)
  60. //VBAction: setPie
  61. //VB:       ,"Set drawing object to pie.",,
  62. //VB:       setDrawObject(=DrawingArea::pie)
  63. //VBAction: setChord
  64. //VB:       ,"Set drawing object to chord.",,
  65. //VB:       setDrawObject(=DrawingArea::chord)
  66. //VBAction: setText
  67. //VB:       ,"Set drawing object to text.",,
  68. //VB:       setDrawObject(=DrawingArea::text)
  69. //VBAction: setBitmap
  70. //VB:       ,"Set drawing object to bitmap.",,
  71. //VB:       setDrawObject(=DrawingArea::bitmap)
  72. //
  73. //VBAction: setColor
  74. //VB:       ,"Set the color",,
  75. //VB:       setColor(const IColor* color)
  76. //VBAction: setPenColor
  77. //VB:       ,"Set the pen color",,
  78. //VB:       setPenColor(const IColor* color)
  79. //VBAction: setWidth
  80. //VB:       ,"Set the pen width",,
  81. //VB:       setWidth(const unsigned long width)
  82. //VBAction: setDrawStyle
  83. //VB:       ,"Set the drawn object fill/frame style",,
  84. //VB:       setDrawStyle(short value = 0)
  85. //VBAction: setFlyOverHandler
  86. //VB:       ,"Set the FlyOverHelpHandler for the DrawingArea",,
  87. //VB:       setFlyOverHandler(IFlyOverHelpHandler* handler)
  88. //
  89. //VBPreferredFeatures: this, menu, drawObject, setColor, setWidth, setDrawStyle, setPenColor
  90. //VBEndPartInfo: DrawingArea
  91. //
  92. //VBBeginEnumInfo: DrawingArea::DrawObject
  93. //VBIncludes: <darea.hpp> _DAREA_
  94. //VBPartDataFile: 'DArea.vbb'
  95. //VBEnumerators: move
  96. //VB:           ,line
  97. //VB:           ,freehand
  98. //VB:           ,rectangle
  99. //VB:           ,ellipse
  100. //VB:           ,polyline
  101. //VB:           ,polygon
  102. //VB:           ,arc
  103. //VB:           ,pie
  104. //VB:           ,chord
  105. //VB:           ,text
  106. //VB:           ,bitmap
  107. //VB:           ,stylecan
  108. //VB:           ,eraser
  109. //VBEndEnumInfo: DrawingArea::DrawObject
  110. //
  111.