home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / vbslid / readme.txt < prev    next >
Text File  |  1993-09-03  |  6KB  |  186 lines

  1. ----------------------------------------------------------------
  2.  
  3.                         Slider VBX Control  
  4.  
  5.               Copyright 1993 Northeast Data Corp.
  6.  
  7.                      All Rights Reserved
  8.  
  9.  
  10.  
  11.       This is the DEMO version of the control. It has the 
  12.       same characteristics as the commercial version, except
  13.       for a notice that appears each time the control is 
  14.       loaded.
  15.  
  16. ----------------------------------------------------------------
  17.  
  18.  
  19.    Release 1.0
  20.  
  21.    August 1993
  22.  
  23.  
  24. This document describes the Slider Custom VBX Control. 
  25.  
  26.  
  27.                CONTENTS
  28.  
  29. 1. Product Description
  30. 2. Legal Information
  31. 3. Installation
  32. 4. Usage
  33. 5. Support
  34.  
  35.  
  36. ----------------------------------------------------------------
  37.  
  38. 1. Product Description
  39.  
  40. The Slider VBX Control is a Microsoft Windows DLL designed and 
  41. implemented in compliance with Microsoft standards for
  42. interfacing with Visual Basic.
  43.  
  44. The control appears to the end user as a slider similar to those 
  45. used on audio/video equipment such as stereos, tuners, and amplifiers.
  46.  
  47. To the application programmer, the interface to the slider is similar
  48. to the one for the MS Windows standard scroll bar. The programmer can
  49. set a range of values that will be fed back to the application as the
  50. end user adjusts the position of the slider on its scale.
  51.  
  52. Being a VBX control, the programmer can add the Slider Control to the 
  53. tool palette in Visual Basic. This allows use of the control in Visual
  54. Basic forms. Since Visual C++ supports use of VBX controls, the slider
  55. control can also be used in the Visual C++ environment.
  56.  
  57. Use of the Slider Control in a finished application requires the
  58. Slider Control DLL (slider.vbx) to be installed with the application.
  59. This is true of all custom controls written for MS Windows.
  60.  
  61. There are properties available that allow the programmer to control
  62. the behavior and appearance of the Slider Control. The slider can appear
  63. in a horizontal or vertical orientation. A horizontal slider can have top
  64. "tick marks", bottom tick marks, no tick marks, or tick marks on both the
  65. bottom and top. This is also true for vertical sliders, where tick marks
  66. are left and right rather than top and bottom.
  67.  
  68. The range of the slider can be set to any range with low and high values
  69. varying from 0 to 32767.
  70.  
  71. All communication between the Slider Control and the application is 
  72. performed using the standard Windows message mechanism for controls. 
  73. Design of the Slider Control message mechanism allows the application to
  74. continuously monitor the setting of the control.
  75.  
  76.  
  77. -------------------------------------------------------------------
  78.  
  79. 2. Legal Information
  80.  
  81. The purchaser of the Slider Control is allowed to use it and
  82. distribute it in applications without paying any royalty, and without
  83. printing or displaying a copyright notice for the control. This only
  84. includes distribution of the Slider Control DLL. It does not include
  85. distribution of documentation that comes with the Slider Control. 
  86.  
  87. The purchaser of the Slider Control may distribute the control DLL with
  88. applications that are networked (multiple users accessing the DLL from
  89. a file server) without paying any license fees to Northeast Data Corp.
  90.  
  91. All information about purchasing the control can be found during the
  92. initial loading of the VBX.
  93.  
  94.  
  95. -------------------------------------------------------------------
  96.  
  97. 3. Installation
  98.  
  99. Create a "slider" directory on your hard disk and copy all files from
  100. the distribution disk to the directory. 
  101.  
  102. Start Visual Basic or the Visual C++ App Studio applications and use
  103. the custom control installation function to install the slider.vbx
  104. control.
  105.  
  106.  
  107. -------------------------------------------------------------------
  108.  
  109. 4. Usage
  110.  
  111.  
  112. PROPERTIES
  113. ----------
  114.  
  115.    BackColor - Sets the background color.
  116.  
  117.    CtlName   - Name of the control.
  118.  
  119.    DragIcon  - Name of the icon that will appear when the control is dragged.
  120.  
  121.    DragMode  - Normal or automatic.
  122.   
  123.    Height    - Height of control.
  124.  
  125.    Index     - Index of control.
  126.  
  127.    Left      - Left position.
  128.    
  129.    Max       - Maximum slider value. This must be greater than the
  130.                minimum slider value.
  131.  
  132.    Min       - Minimum slider value. This must be less than the maximum
  133.                slider value.
  134.  
  135.    Pos       - Current slider position. This must be a value between
  136.                or including the current minimum and maximum values of
  137.                the slider.
  138.  
  139.    Range     - Normal (0) or Inverted (1). If inverted, a vertical
  140.                slider will increase in value from top to bottom and a
  141.                horizontal slider will increase from right to left.
  142.  
  143.    TabIndex  - Control tab order.
  144.  
  145.    TabStop   - If this is turned on (1 instead of 0), the slider can
  146.                be activated by tabbing to it with the TAB key.
  147.  
  148.    Tag       - Control tag.
  149.  
  150.    TickMarks - Left, right, none or both for vertical sliders. 
  151.                Top, bottom, none or both for horizontal sliders.
  152.  
  153.    Top       - Top of control window.
  154.  
  155.    Visible   - Visible/Invisible attribute.
  156.  
  157.    Width     - Width of control.
  158.  
  159.    
  160. EVENTS
  161. ------
  162.  
  163. These events work the same way as for other VBX controls.
  164.  
  165.    DblClick 
  166.    DragDrop  
  167.    DragOver
  168.    GotFocus
  169.    KeyDown
  170.    KeyUp
  171.    LostFocus
  172.    ThumbPos   
  173.  
  174.  
  175. -----------------------------------------------------------------------
  176.  
  177. 5. Support
  178.  
  179. For technical support, call 716-247-5934 from 8:00 a.m to 5:00 p.m
  180. Monday through Friday.
  181.  
  182.  
  183.  
  184.  
  185. 
  186.