home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1996 May / PCDMAY.ISO / software / clarion / 3rdparty / tools / library / schedcw.exe / README.TXT next >
Encoding:
Text File  |  1995-06-17  |  6.4 KB  |  133 lines

  1. AddSoft's Schedule VBX is a very comprehensive control. This is good and bad:
  2. Good because it lets you build comprehensive scheduling systems; Bad because
  3. there is a LOT you need to manage and a big learning curve.
  4.  
  5. At this stage we have not provided a template wrapper for Schedule VBX. This
  6. may be provided in the future at a substantially greater license fee.
  7. Instead, I have 3 include files and a 4th file which can be used to easily
  8. add/change SchedVBX property settings.
  9.  
  10. The files are as follows
  11.  
  12. SCHEDVBX.CLW
  13.  This is the function prototype file for inclusion in the MAP.
  14.  You need to use this file if you wish to use the DLL FUNCTIONS of SCHEDULE.VBX
  15.  Because CW does not recognize *.VBX as a DLL, you need to COPY SCHEDVBX.VBX
  16.  to \cw\bin\SCHEDVBX.DLL and make sure that you do this every time SCHEDVBX is
  17.  upgraded.
  18.  The function calls all require the hWnd handle of the Schedule control you
  19.  have created. If your control is called ?Control1, you can get the hWnd with
  20.  the syntax
  21.     Control1_hWnd = ?Control1{prop:handle}
  22.  
  23.  Example from SCHEDVBX.CLW
  24.  
  25.  !Search Routines
  26.    SchedVBXWndFindFreeTimeBlock( USHORT,  |!hWnd handle into SchedVBX instance
  27.                                  SHORT,   |!iResource number (Resource Array index)
  28.                                  *STRING, |!szBeg date/time string
  29.                                  *CSTRING |!szDur duration string
  30.                                ) SHORT, PASCAL, RAW
  31.  
  32. SCHEDEQU.CLW
  33.  This file has equates for every setting option of several dozen properties -
  34.  in fact virtually every property for which such equates make sense.  This
  35.  allows you to use meaningful names for settings instead of numbers, making
  36.  maintenance feasible.
  37.  
  38.  Example from SCHEDEQU.CLW
  39.  
  40.  !Timescale Equates
  41. SchedTimescale:Years            EQUATE( 0 )
  42. SchedTimescale:Quarters         EQUATE( 1 )
  43. SchedTimescale:Months           EQUATE( 2 )
  44. SchedTimescale:Weeks            EQUATE( 3 )
  45. SchedTimescale:Days             EQUATE( 4 )
  46. SchedTimescale:Hours            EQUATE( 5 )
  47. SchedTimescale:Minutes          EQUATE( 6 )
  48.  
  49. COLORS.CLW
  50.  This is a small equates file which adds additional named colors and the
  51.  standard MicroSoft names for several colors.
  52.  
  53.  Example from COLORS.CLW
  54. COLOR:DarkYellow        EQUATE (0008080H)   !Microsoft name for Olive
  55. COLOR:Gold              EQUATE (00080FFH)
  56. COLOR:LightOlive        EQUATE (000FF80H)
  57.  
  58. SCHEDREF.CLW
  59.  This file will save you gobs of time.  Copy the property statement you need,
  60.  along with the appropriate equate name, delete the ! in front of the property
  61.  statement and rename the control to your schedule control.
  62.  
  63.  Examples from SCHEDREF.CLW
  64.  
  65.     !?Control{'BarName',BarNumber} = '' !(default)
  66. !Name of the BarNumber-th Bar
  67.  
  68.     !?Control{'BarSize',BarNumber} = 50 !(default)
  69. !height of bar as a % of cell height
  70.  
  71.     !?Control{'BarOffset',BarNumber} = 0 !(default)
  72. !Offset of bar as a % of cell height - 75 places bar in bottom quarter of cell
  73.  
  74.     !?Control{'BarColor',BarNumber} = Color:Navy !(default)
  75.  
  76.     !?Control{'BarPattern',BarNumber} = SchedBarPattern:None !(default)
  77. !SchedBarPattern:None
  78. !SchedBarPattern:Horizontal
  79. !SchedBarPattern:Vertical
  80. !SchedBarPattern:UpwardsHatch
  81. !SchedBarPattern:DownwardsHatc
  82. !SchedBarPattern:CrossHatch
  83. !SchedBarPattern:45DegreeHatch
  84.  
  85.     ===================================================================
  86. If you wish to unlock these files email your VISA or MasterCard details to
  87. A-TEK Systems. The password will be forwarded by return email and A$20
  88. (about US$14) will be billed to your credit card. To unlock the file, run
  89. SCHEDINC -s[password]
  90. e.g. SCHEDINC -sATEK              (good luck if you try this password)
  91.  
  92. There is no doubt that a few errors exist in these files. The nominal
  93. license fee being charged includes absolutely no support whatsoever! A-Tek
  94. Systems MAY, at its discretion, fix any reported bugs in the files! You
  95. may use the files as you see fit, as long as you do not redistribute them as
  96. source.  The COLORS.CLW files bears no COPYRIGHT notice at all and has
  97. been placed in the public domain by A-TEK Systems.
  98.  
  99. The following is the copyright notice attaching to the other 3 files.
  100.  
  101. !**********************************************************************!
  102. !       COPYRIGHT 1995 A-TEK SYSTEMS ALL RIGHTS RESERVED               !
  103. !                                ***                                   !
  104. !       THIS FILE MAY NOT BE USED IN A SOFTWARE PRODUCT (NOR ANY       !
  105. !       PART OF IT) UNLESS A COPY OF THIS NOTICE IS INCLUDED IN ITS    !
  106. !       ENTIRETY. THIS FILE MAY NOT BE USED (NOR ANY PART THEREOF)     !
  107. !       UNLESS THE USER HAS PAID THE LICENSE FEE TO A-TEK SYSTEMS.     !
  108. !       THIS FILE MAY NOT BE REDISTRIBUTED AS SOURCE CODE (NOR ANY     !
  109. !       PART OF IT) AND MAY NOT BE INCORPORATED IN ANY TEMPLATE (NOR   !
  110. !       ANY PART OF IT) WITHOUT THE WRITTEN PERMISSION OF THE          !
  111. !       COPYRIGHT OWNER.                                               !
  112. !       A SINGLE LICENSE FEE COVERS THE USE BY A SINGLE USER OF        !
  113. !       SCHEDVBX.CLW, SCHEDEQU.CLW AND/OR SCHEDREF.CLW.                !
  114. !       THIS FILE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY             !
  115. !       WHATSOEVER OF ITS SUITABILITY TO ANY PARTICULAR PURPOSE.       !
  116. !       IT IS A CONDITION OF USE OF THIS FILE (OR ANY PART OF IT)      !
  117. !       THAT THE USER ACCEPT ALL RESPONSIBILITY FOR ANY PROBLEMS       !
  118. !       WHICH ARISE OUT OF ITS USE. IF YOU ARE UNWILLING TO            !
  119. !       ACCEPT THIS OR ANY OTHER CONDITION OF USE, YOU MUST            !
  120. !       ERASE ALL CODE IN YOUR POSSESSION WHICH UTILISES ANY PART      !
  121. !       OF THIS FILE.                                                  !
  122. !                                ***                                   !
  123. !       If you have a copy of this file and have not paid A-TEK        !
  124. !       Systems for its use, please contact A-TEK Systems to           !
  125. !       obtain the necessary license. The license fee is A$20          !
  126. !       (about US$14) per user, payable by MasterCard or VISA.         !
  127. !                                                                      !
  128. !                           A-TEK Systems                              !
  129. !               PO BOX 72, BONDI, NSW, 2026, AUSTRALIA                 !
  130. !             Phone +61 2 387-2544    Fax +61 2 369-4644               !
  131. !                      CompuServe 100033,3544                          !
  132. !**********************************************************************!
  133.