home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mle.zip / README < prev    next >
Text File  |  1996-03-22  |  3KB  |  71 lines

  1.  
  2. COPYRIGHT:
  3. ----------
  4. Copyright (C) International Business Machines Corp., 1991,1995.
  5.  
  6. DISCLAIMER OF WARRANTIES:
  7. -------------------------
  8. The following [enclosed] code is sample code created by IBM
  9. Corporation.  This sample code is not part of any standard IBM product
  10. and is provided to you solely for the purpose of assisting you in the
  11. development of your applications.  The code is provided "AS IS",
  12. without warranty of any kind.  IBM shall not be liable for any damages
  13. arising out of your use of the sample code, even if they have been
  14. advised of the possibility of such damages.
  15.  
  16.  
  17. This sample package (mle.zip) file contains the following files:
  18.  
  19. ==========================================================================
  20.    MLECLKH.CPP  source code for the class MLEMouseClickHandler
  21.    MLECLKH.HPP  header file for the class MLEMouseClickHandler
  22.    MLE.CPP      source code for the class MultiLineEdit
  23.    MLE.HPP      header file for the class MultiLineEdit
  24.    MLE.DEF      def file used for building MLE.DLL
  25.    MLE.DLL      dynamic link library for the classes MultiLineEdit
  26.                 and MLEMouseClickHandler
  27.    MLE.LIB      import lib for the classes MultiLineEdit and
  28.                 MLEMouseClickHandler
  29.    MLE.MAK      make file use to build the MLE.DLL and MLE.LIB
  30.                 (NOTE: you can build/package it however way you want)
  31.    MLE.VBB      contains the TestMLE part and the imported MultiLineEdit part
  32.    MLE.VBE      import file for the MultiLineEdit part
  33.    README.TXT   this file
  34.    TESTMLE.EXE  application to test the MultiLineEdit user primitive
  35.  
  36.  
  37. Class Descriptions:
  38. ==========================================================================
  39.    MultiLineEdit           MLE user primitive.  This class overrides
  40.                            the selectedText, selectedTextLength, and
  41.                            hasSelectedText attributes of IMultiLineEdit
  42.                            to support selectedTextId as an attribute event.
  43.    MLEMouseClickHandler    handler that's used by MultiLineEdit to
  44.                            notify when mouse button 1 has been released
  45.    TestMLE                 visual part used to test the MultiLineEdit
  46.                            user primitive
  47.  
  48.  
  49. Instructions for using the MultiLineEdit part:
  50. ==========================================================================
  51.    1. Load MLE.VBB
  52.    2. To use (add and drop) the MultiLineEdit part, select
  53.       Options->Add part from the menu bar of the Composition
  54.       Editor.  When you drop the part, it will appear as a
  55.       small grey box (NOTE: it will appear fine at runtime).
  56.    3. You can resize and open the settings for the MultiLineEdit
  57.       part just as you do the IMultiLineEdit part that appears
  58.       on the Parts Palette.
  59.  
  60.    If you want to see a part that uses it, open the part TestMLE
  61.    in MLE.VBB.  To execute the app for this part, run TESTMLE.EXE.
  62.  
  63.  
  64. ==========================================================================
  65. NOTE: the MultiLineEdit user primitive part only supports notification
  66.       for mouse selection.  If you're interested in supporting
  67.       notification for keyboard selection, subclass IKeyboardHandler
  68.       as well.
  69.  
  70.  
  71.