home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pentlk11.zip / README < prev    next >
Text File  |  1994-02-03  |  26KB  |  613 lines

  1.              Pen for OS/2 Developer's Toolkit:  Getting Started
  2.              --------------------------------------------------
  3.  
  4. Contents
  5. ========
  6. This README contains the following sections:
  7.  
  8. Pen for OS/2 Toolkit 1.1   New Content
  9. Introduction
  10. Toolkit Installation
  11.   Requirements
  12.   List of Suggested Tools
  13.   CD-ROM Installation Options
  14.   Pen for OS/2 Toolkit Installation
  15.   Subdirectory Created during Installation
  16. Toolkit Sample Programs
  17.   APPLIC Sketch/Handwriting Sample (APPLIC.EXE)
  18.   SKETSAMP Sketch Control Sample (SKETSAMP.EXE)
  19.   HWX_SAMP Handwriting Control Sample (HWX_SAMP.EXE)
  20.   HIDEKBD Hide the Pop-Up Keyboard Sample (HIDEKBD.EXE)
  21.   ISM_SAMP Input Subsystem Message Sample (ISM_SAMP.EXE)
  22.   LOADKBD Load the Pop-Up Keyboard Sample (LOADKBD.EXE)
  23.   MOVEKBD Move the Pop-Up Keyboard Sample (MOVEKBD.EXE)
  24.   OEM Pen Subclass Sample (OEM.DLL)
  25.   WM_RECO_COMMAND Message Handler (RECODISP.EXE)
  26.   WM_RECO Message Handler (WMRECO.EXE)
  27.   WRT API Sample (WRTSAMPL.EXE)
  28.   MultiMedia Ink ( MMINK.EXE )
  29. Known Problems and Limitations
  30. Notices
  31.   Trademarks
  32.  
  33. Pen for OS/2 Toolkit 1.1   New Content
  34. ========================================
  35.  
  36.   o MultiMedia Ink, a sample application that demonstrates a simple
  37.     method of synchronizing audio and ink. It also demonstrates a method of
  38.     capturing ink at high resolution and scaling the ink back down to a lower
  39.     resolution for display.
  40.  
  41. Introduction
  42. ============
  43. This Readme describes how to install the Pen for OS/2 Developer's Toolkit
  44. (Toolkit) and summarizes the sample programs included in the Toolkit.  Use this
  45. document as an overview of the Toolkit, as a guide when installing the Toolkit,
  46. and as a reference.
  47.  
  48. o  Please call 1-800-3IBMOS2 to purchase a copy of the Pen for OS/2 
  49.    product. The IBM PenAssist program is also available.            
  50.    A developer can join this program which offers discounts         
  51.    on software and other useful information and assistance.         
  52.    For more information concerning the Pen Assist program,          
  53.    please call (404) 835-9900 and ask for the Pen Assist program.   
  54.  
  55. The following related Pen for OS/2 publications are available:
  56.  
  57. o   Pen for OS/2 Device Driver Reference, 71G2125
  58.     ------------------------------------
  59.  
  60.     This book provides information on how to develop the device drivers that
  61.     act as an interface between the Pen for OS/2 system extension and pen
  62.     hardware products.
  63.  
  64. o   Pen for OS/2 Programming Guide and Reference, 71G2124
  65.     --------------------------------------------
  66.  
  67.     This book is available online in the Pen for OS/2 Toolkit folder.  The book
  68.     is divided into two parts.  Part 1 is a programming guide for the Pen for
  69.     OS/2 system extension.  It provides an overview of the system and describes
  70.     how to create pen-aware applications.  It also describes how pen-unaware
  71.     applications can be used with Pen for OS/2.  Part 2 is a reference that
  72.     lists the Pen for OS/2 application programming interface (API), messages,
  73.     and data structures.
  74.  
  75. o   Pen for OS/2 User's Guide, 71G2122
  76.     -------------------------
  77.  
  78.     This book introduces the Pen for OS/2 system extension and helps you get
  79.     started using it.
  80.  
  81.  
  82. Toolkit Installation
  83. ====================
  84. The Toolkit is a collection of library files, header files, documentation, and
  85. sample code designed to help you develop applications for use with Pen for OS/2.
  86.  
  87. Requirements
  88. ============
  89. Before beginning the installation procedure, make sure you have the following:
  90.  
  91. o   A computer with IBM(Trademark of the IBM Corporation)
  92.     OS/2(Trademark of the IBM Corporation) 2.1 installed.
  93. o   A minimum of 8MB of memory
  94. o   A CD-ROM (high-capacity read-only memory in the form of an optically read
  95.      compact disc) drive
  96. o   A hard disk drive with 3264KB of free disk space for the Toolkit
  97.  
  98. List of Suggested Tools
  99. =======================
  100. The following tools are used in conjunction with the Pen for OS/2 Toolkit.
  101.  
  102. o   IBM C Set/2 Compiler
  103. o   IBM Developer's Toolkit for OS/2 2.1
  104. o   Pen for OS/2
  105.  
  106. CD-ROM Installation Options
  107. ===========================
  108. The Pen for OS/2 Toolkit is located in the Development Tools Directory on the
  109. Developer Connection CD-ROM. There are two ways to install the Pen for OS/2
  110. Toolkit:
  111.  
  112. o   Installing directly from the CD-ROM.
  113. o   Creating two diskettes from the CD-ROM and installing from diskette.
  114.  
  115. Refer to the Developer Connection documentation for instructions on installing
  116. tools directly from the CD-ROM and for diskette creation instructions.
  117.  
  118. Pen for OS/2 Toolkit Installation 
  119. =====================================
  120. Follow these steps to install the Toolkit:
  121.  
  122. 1.  Begin the IBM Pen for OS/2 Toolkit installation program:
  123.  
  124.     o If you are installing directly from the CD-ROM, the installation program
  125.       is started by selecting the IBM Pen for OS/2 Toolkit, Install product
  126.       option
  127.     o If you are installing from Diskette, insert the Toolkit Installation
  128.       diskette 1 in Drive A and type the following at the command
  129.       prompt:  A:PINSTALL
  130.  
  131.     The Toolkit installation program is a Presentation Manager (Trademark of 
  132.     the IBM Corporation) application that will enable you to install the Toolkit
  133.     onto your system.
  134.  
  135.     While you are installing the Toolkit, few decisions are necessary.  However,
  136.     if you need help, you can press the F1 key or select the Help push button.
  137.  
  138. 2.  Before you continue installing the Pen for OS/2 Toolkit, review the ReadMe
  139.     file.  To do so, select ReadMe from the IBM Pen for OS/2 Toolkit - Options
  140.     window.  When you have completed reviewing the ReadMe, select Close from
  141.     the system menu to return to this window.
  142.  
  143.     The CONFIG.SYS file must be updated to successfully install the Pen for OS/2
  144.     Toolkit.  The Options window has a group box labeled CONFIG.SYS with two
  145.     radio buttons:
  146.  
  147.     o   Pen for OS/2 Toolkit updates
  148.     o   You will update
  149.  
  150.     If you select the first option, the Pen for OS/2 Toolkit installation
  151.     program will update your CONFIG.SYS automatically.  It will also back up
  152.     your initial CONFIG.SYS to CONFIG.XXX.
  153.  
  154.     If you select the second option, the Pen for OS/2 Toolkit installation
  155.     program will create a file CONFIGCH.XXX in the root directory.  This file
  156.     contains a suggested version of the CONFIG.SYS.  You must either
  157.     incorporate these changes into your CONFIG.SYS or use this file as your
  158.     CONFIG.SYS.
  159.  
  160. 3.  Select OK to continue with the installation.
  161.  
  162. 4. The default "source drive" (the drive from which information is read) is
  163.    drive A.  The default "target drive" (the drive to which information is
  164.    written) is drive C.  You can change either drive by clicking on the down
  165.    arrow in either field and making another drive selection.
  166.  
  167.    The default "target path" installs the Pen for OS/2 Toolkit in the
  168.    directory C:\TLKTPPM.  You can change the path by typing a new path in the
  169.    "Target path" window or by selecting an entry in the "Target directory"
  170.    list box.
  171.  
  172.    Note:  The Toolkit can be installed from a Local Area Network (LAN) to your
  173.           hard disk.  It can be installed on a server and then all requestor
  174.           machines connected to the server can install from it.
  175.  
  176. 5. Select Install.  Follow the online directions.
  177.  
  178. 6. For changes to take effect when the installation is complete, you MUST
  179.    shut down your system and restart your computer.
  180.  
  181.  
  182. Note:  The installation program checks the target drive to ensure there is
  183.        enough room to install the entire Pen for OS/2 Toolkit.  A warning
  184.        message is displayed if it is determined that there is not enough room
  185.        on the target drive.  You have the option of continuing with the
  186.        installation and potentially receiving an out of space error or
  187.        cancelling the installation.
  188.  
  189. Note:  If installing directly from the CD-ROM, the toolkit files will be
  190.        created on your hard disk with the Read-Only attribute.  Use the OS/2
  191.        System Command ATTRIB -R to remove the Read-Only restriction.
  192.  
  193.  
  194. Subdirectory Created during Installation
  195. ========================================
  196. The subdirectory TLKTPPM is created when you install Toolkit components
  197. on a hard disk.  The following is the subdirectory structure for the
  198. Toolkit:
  199.  
  200.         ──TLKTPPM
  201.              ├──LIB
  202.              ├──SC
  203.              ├──H
  204.              ├──INSTALL
  205.              ├──HELP
  206.              ├──BOOK
  207.              ├──ICONS
  208.              └──SAMPLES
  209.                   ├──APPLIC
  210.                   ├──SKETSAMP
  211.                   ├──HWX_SAMP
  212.                   ├──HIDEKBD
  213.                   ├──ISM_SAMP
  214.                   ├──LOADKBD
  215.                   ├──MOVEKBD
  216.                   ├──OEMPEN
  217.                   ├──RECODISP
  218.                   ├──WMRECO
  219.                   ├──WRTSAMPL
  220.                   └──MMINK
  221.  
  222. The subdirectories and their contents are:
  223.  
  224. LIB                Library files
  225.  
  226. SC                 System Object Model class definition files for
  227.                    Workplace Shell(Trademark of the IBM Corporation) objects
  228.  
  229. H                  Include and header files
  230.  
  231. INSTALL            Toolkit installation control files
  232.  
  233. HELP               Toolkit installation help files
  234.  
  235. BOOK               Online Pen for OS/2 Programming Guide and Reference
  236.                           --------------------------------------------
  237. ICONS              Installation icons
  238.  
  239. SAMPLES            Sample programs
  240.  
  241. APPLIC             APPLIC demonstrates how to create a Handwriting control and
  242.                    a Sketch control.  This program also shows how to save and
  243.                    restore the sketch strokes to and from disk.
  244.  
  245. SKETSAMP           SKETSAMP demonstrates how to create a Sketch control and to
  246.                    use the Sketch control messages and notification messages.
  247.  
  248. HWX_SAMP           This sample program demonstrates how to create and use
  249.                    the handwriting control.
  250.  
  251. HIDEKDB            This sample program demonstrates how to use the keyboard
  252.                    APIs to hide and show a pop-up keyboard.
  253.  
  254. ISM_SAMP           This sample program demonstrates how to use the Pen for OS/2
  255.                    input subsystem messages.
  256.  
  257. LOADKBD            This sample program demonstrates how to use the pop-up
  258.                    keyboard APIs to start the pop-up keyboard program and load
  259.                    different types of keyboards.
  260.  
  261. MOVEKBD            This sample program demonstrates how to use the keyboard
  262.                    APIs to resize and move a pop-up keyboard.
  263.  
  264. OEMPEN             The OEM Pen sample demonstrates how to use subclassing to
  265.                    customize the setup object associated with a device.
  266.  
  267. RECODISP           The RECODISP program demonstrates how a command handler
  268.                    registers itself, retrieves the RECODATA from the
  269.                    environment, and handles the WM_RECO_COMMAND message.
  270.  
  271. WMRECO             This sample program displays all RECODATA information
  272.                    when a gesture is drawn and recognized.
  273.  
  274. WRTSAMPL           WRTSAMPL demonstrates how to use the WRT APIs.  The WRTSAMPL
  275.                    is a drawing program using WM_MOUSEMOVE or WM_SENSOR_MOVE
  276.                    messages for drawing.
  277.  
  278. MMINK              MultiMedia Ink is a sample application that demonstrates a 
  279.                    simple method of synchronizing audio and ink. It also 
  280.                    demonstrates a method of capturing ink at high resolution
  281.                    and scaling the ink back down to a lower resolution for 
  282.                    display.
  283.  
  284.  
  285. Toolkit Sample Programs
  286. =======================
  287. The sample programs available with the Toolkit are written in C and demonstrate
  288. the use of the API functions of Pen for OS/2.  Each sample program serves as a
  289. template that can be easily modified for your own purposes.  Names of the sample
  290. programs correspond to their Toolkit subdirectory names.
  291.  
  292. When the Toolkit is installed, a Pen for OS/2 Toolkit folder is created on the
  293. desktop.  Inside this folder are online documents and a Samples folder
  294. containing objects for each of the samples.  To start a sample program from
  295. an OS/2 command prompt, type the name of the executable file and press Enter.
  296.  
  297. Note:  For the RECODISP.EXE program, follow the instructions in the
  298.        heading:  WM_RECO_COMMAND Message Handler (RECODESP.EXE).
  299.  
  300. If you have edited source code of a sample program and want to recompile, link,
  301. and run the files, change to the subdirectory where the sample program resides
  302. and type:
  303.  
  304. NMAKE SAMPLE.MAK
  305.  
  306. where sample is the name of the sample program you want to build.
  307.  
  308.  
  309. APPLIC Sketch/Handwriting Sample (APPLIC.EXE)
  310. =============================================
  311. APPLIC demonstrates how to create Handwriting and Sketch Controls by defining
  312. them as part of a dialog template in a resource definition file.  The name,
  313. address, city, state, and zip code fields are Handwriting Controls and the
  314. signature field is a Sketch Control.
  315.  
  316. The three selectable colored pen pointers used to write in the Sketch Control
  317. demonstrate the SKM_SET_CTL_DRAW_POINTER and SKM_SET_CTL_INK_COLOR control
  318. messages.  The SKM_DELETE_ALL_STROKES control message is demonstrated when you
  319. press the Clear button.
  320.  
  321. This program also shows how to save and restore the sketch strokes to and from
  322. disk by using the following sketch controls:
  323.  
  324.   SKM_QUERY_CTL_STROKE_COUNT
  325.   SKM_QUERY_STROKE_LENGTH
  326.   SKM_QUERY_STROKE_DATA
  327.   SKM_ADD_STROKE
  328.  
  329.  
  330. SKETSAMP Sketch Control Sample (SKETSAMP.EXE)
  331. =============================================
  332. SKETSAMP demonstrates how to create a sizeable Sketch Control in a client
  333. window and how to use the Sketch Control Messages and Notifications Messages.
  334. A Sketch window will display and accept freehand input.  When you press the
  335. "Select Control" push button, a list box containing SKETCH Control Messages
  336. will be displayed and you can select a message to execute.  To execute a
  337. particular message, you highlight the message and press "OK".  To get help for
  338. a particular message, you highlight the message and press "Help".
  339.  
  340. The following messages and notification messages are demonstrated:
  341.  
  342.   SKM_DELETE_ALL_STROKES
  343.   SKM_UNDO_LAST_STROKE
  344.   SKM_QUERY_CTL_DRAW_POINTER
  345.   SKM_SET_CTL_DRAW_POINTER
  346.   SKM_QUERY_CTL_INK_WIDTH
  347.   SKM_SET_CTL_INK_WIDTH
  348.   SKM_QUERY_CTL_INK_COLOR
  349.   SKM_SET_CTL_INK_COLOR
  350.   SKM_QUERY_CTL_INVISIBLE_MODE
  351.   SKM_SET_CTL_INVISIBLE_MODE
  352.   SKM_RENDER_TO_CLIPBOARD
  353.   SKM_QUERY_CTL_STROKE_COUNT
  354.   SKM_QUERY_STROKE_INK_COLOR
  355.   SKM_SET_STROKE_INK_COLOR
  356.   SKM_QUERY_STROKE_INK_WIDTH
  357.   SKM_SET_STROKE_INK_WIDTH
  358.   SKM_GET_BITMAP
  359.   SKM_QUERY_BITMAP_SIZE
  360.   SKM_QUERY_STROKE_LENGTH
  361.   SKM_QUERY_STROKE_DATA
  362.   SKM_SET_CTL_AUXDATA_MODE
  363.   SKN_INK_COLOR_CHANGE
  364.   SKN_INK_WIDTH_CHANGE
  365.   SKN_STROKE_ADD
  366.   SKN_STROKE_UNDO
  367.   SKN_CONTROL_CLEARED
  368.  
  369. To exit, press Cancel at the Sketch Input window.
  370.  
  371.  
  372. HWX_SAMP Handwriting Control Sample (HWX_SAMP.EXE)
  373. ==================================================
  374. HWX_SAMP demonstrates several methods of creating and using the handwriting
  375. controls for pen-aware applications.  HWX_SAMP is a multiwindow application.
  376. It consists of a single executable file (HWX_SAMP.EXE) and a dynamic link
  377. library (HWXPROCS.DLL).  The application creates a main window with a menu bar.
  378. The menu contains items for several variations for control creation and
  379. manipulation.  The following are a list of the variations demonstrated:
  380.  
  381.   Window Styles
  382.   Window Text Control
  383.   Resizing of Control
  384.   Notification Messages
  385.   Multiple Controls
  386.   Related APIs
  387.  
  388.  
  389. HIDEKBD Hide the Pop-Up Keyboard Sample (HIDEKBD.EXE)
  390. =====================================================
  391. HIDEKBD demonstrates how to use the keyboard APIs to hide and show a pop-up
  392. keyboard on the desktop.  The sample program initially displays the default
  393. keyboard.  Selecting the Hide button on the HIDEKBD program window will remove
  394. the pop-up keyboard from view.  The pop-up keyboard can be restored to view by
  395. selecting the Restore button on the program window.  Finally, the program
  396. closes the keyboard and stops the pop-up keyboard process.  The following APIs
  397. are demonstrated:
  398.  
  399.   VkpLoadKeyboard
  400.   VkpIsKbRunning
  401.   VkpIsKbHidden
  402.   VkpHideKeyboard
  403.   VkpCloseKb
  404.  
  405. ISM_SAMP Input Subsystem Message Sample (ISM_SAMP.EXE)
  406. ======================================================
  407. ISM_SAMP demonstrates the uses of Pen for OS/2-generated window messages in the
  408. construction of a pen-aware application.  ISM_SAMP is a multiwindow application.
  409. It consists of a single executable file (ISM_SAMP.EXE) and a dynamic link
  410. library (ISMPROCS.DLL).  The application creates a main window with a menu bar.
  411. The menu contains items for variations of each the Pen for OS/2-generated
  412. window messages.  The variations consist of the different MRESULT codes for the
  413. window messages.  Selecting the menu item will create a child window to
  414. demonstrate the use of the associated window message and the effect of the
  415. various MRESULT codes.  The following messages and their associated MRESULT
  416. codes are demonstrated:
  417.  
  418.   WM_TOUCHDOWN
  419.   WM_LIFTOFF
  420.   WM_STROKE
  421.   WM_SENSOR_MOVE
  422.   WM_EXIT_PROXIMITY
  423.   WM_WRT_DEV_CAPS_CHANGE
  424.   WM_WRT_SYSVALUECHANGED
  425.   WM_PAUSE_TIMEOUT
  426.   WM_TAP
  427.   WM_DBL_TAP
  428.  
  429. LOADKBD Load the Pop-Up Keyboard Sample (LOADKBD.EXE)
  430. =====================================================
  431. LOADKBD demonstrates how to use the pop-up keyboard APIs to start the pop-up
  432. keyboard program and load different types of keyboards.  The sample program
  433. opens a window, loads the default keyboard and asks you to enter some
  434. information using the pop-up keyboard.  The program then closes the default
  435. keyboard, starts a numeric keyboard, and asks you to enter some numeric data.
  436. Finally, the sample program closes the keyboard and ends the pop-up keyboard
  437. process.  The following APIs are demonstrated:
  438.  
  439.   VkpLoadKeyboard
  440.   VkpIsKbRunning
  441.   VkpDeleteKeyboard
  442.   VkpCloseKb
  443.  
  444. MOVEKBD Move the Pop-Up Keyboard Sample (MOVEKBD.EXE)
  445. =====================================================
  446. MOVEKBD demonstrates how to use the pop-up keyboard APIs to resize and move a
  447. pop-up keyboard to different places on the desktop.  The sample program
  448. initially displays the default keyboard in the lower-left corner of the desktop.
  449. Selecting the Move button will reposition the pop-up keyboard just below the
  450. MOVEKBD window.  Moving the window and then selecting the Move button will
  451. change the pop-up keyboard position to just above or below the MOVEKBD
  452. window.  Selecting the Enlarge and Skrink buttons will change the size of the
  453. pop-up keyboard.  Finally, the program closes the keyboard and stops the pop-up
  454. keyboard process.  The following APIs are demonstrated:
  455.  
  456.   VkpLoadKeyboard
  457.   VkpIsKbRunning
  458.   VkpQueryKbPos
  459.   VkpSetKbPos
  460.   VkpCloseKb
  461.  
  462. OEM Pen Subclass Sample (OEM.DLL)
  463. =================================
  464. The OEM Pen sample demonstrates how to use the method of subclassing to
  465. customize the setup object associated with a device.  For example, you can
  466. choose to change the default icon or title of the object when it is installed,
  467. or you can choose to add or remove pages from the notebook.
  468.  
  469. Specifically, this sample subclasses the PenLocatorPen class to change the
  470. default icon and title of the Pen object and also adds a Settings page to
  471. the notebook.  Sample script files are provided and can be used in
  472. conjunction with the PENDD.SYS sample device driver which uses CAL.EXE
  473. for a calibration program.
  474.  
  475. Upon opening the OEM Pen object after installing and restarting the system,
  476. an "OEM" page will be added to the notebook, and the icon and title are
  477. customized as specified in the subclass.  The calibration program can be run
  478. by selecting Open and then Calibrate from the pop-up menu.
  479.  
  480. WM_RECO_COMMAND Message Handler (RECODISP.EXE)
  481. ==============================================
  482. This program demonstrates how a recognition command handler works.  This
  483. program name should be given as the command name of a gesture in the Gesture
  484. Edit page.  When the gesture is drawn on the program window, Pen for OS/2 will
  485. run this program.
  486.  
  487. The RECODISP program demonstrates how a command handler registers itself,
  488. retrieves the RECODATA structure from the environment, and handles the
  489. WM_RECO_COMMAND message.  The RedRegisterRecoCommand and RedRecoDataFromEnv
  490. APIs are used.  When a gesture is drawn on an application window and the
  491. application does not handle, Pen for OS/2 invokes the command handler shown in
  492. the Gesture Assignment page.  The command handler can then retrieve the
  493. information within the RECODATA structure.  The RECODATA structure contains
  494. the argument.
  495.  
  496. To assign this command to a gesture for a specific program:
  497.  
  498. 1.  Open the Settings notebook for the program.
  499. 2.  Select the Gesture page.
  500. 3.  Select the Gesture page from the Settings notebook; select a gesture and
  501.     click on the "Edit" button.  In the Edit window, you can enter the command
  502.     handler name, parameters, and description.  If the gesture is made on the
  503.     application window after editing, the command handler will be activated by
  504.     Pen for OS/2.
  505.  
  506. This program should be in a directory given by PATH= in CONFIG.SYS or
  507. the full path name of the command handler should be given in Edit window.
  508.  
  509. WM_RECO Message Handler (WMRECO.EXE)
  510. ====================================
  511. When a gesture is made in an application window, a WM_RECO message is sent to
  512. the window.  The WMRECO program is a pen-aware application that handles the
  513. WM_RECO message.  When it receives the message, it retrieves the RECODATA
  514. structure and displays it in a dialog box.
  515.  
  516. WRT API Sample (WRTSAMPL.EXE)
  517. =============================
  518. WRTSAMPL demonstrates how to use the WRT APIs.  The WRTSAMPL is a drawing
  519. program using WM_MOUSEMOVE or WM_SENSOR_MOVE messages for drawing.
  520. WrtWaitActive, WrtQueryStrokeData, WrtMapPointLong, WrtQueryPointAuxData,
  521. and WrtQueryEventData are demonstrated in the WRTSAMPL program.
  522.  
  523. After invoking WRTSAMPL, different system values and system variables
  524. can be chosen from the menu bar to be displayed and set.
  525.  
  526. Selecting Capabilities produces the following choices and related APIs as
  527. listed:
  528.  
  529. System Caps           WrtQuerySystemCaps
  530. Locator Caps          WrtQueryLocatorCaps
  531. Button Caps           WrtQueryButtonCaps
  532. Display Caps          WrtQueryDisplayCaps
  533.  
  534. Selecting "System Value" produces the following choices and related APIs as
  535. listed:
  536.  
  537. Query Value           WrtQuerySysValue
  538. Set Value             WrtSetSysValue
  539. Write Value           WrtWriteSysValue
  540. Read Value            WrtReadSysValue
  541.  
  542. Selecting "Devices" produces the following choices and related APIs as listed:
  543.  
  544. Enum Drivers          WrtEnumInputDrivers
  545. Query Names           WrtQueryInputDevicesNames
  546. Query Variable        WrtQueryInputDeviceVariable
  547. Set Variable          WrtSetInputDeviceVariable
  548.  
  549. Selecting Miscellaneous produces the following choices and related APIs as
  550. listed:
  551.  
  552. Strict Emulation      WrtSetStrictEmulation
  553. Backlight             WrtControlDisplayBacklight
  554. Toggle M/S            Toggle between mouse move and sensor move
  555. Toggle Aux            Toggle between display Aux Data and not display Aux Data
  556. Toggle Event          Toggle between display Event Data and not display Event
  557.                        Data
  558.  
  559. MultiMedia Ink ( MMINK.EXE )
  560. ==============================
  561. MultiMedia Ink ( MMINK ) is a sample application that demonstrates a simple
  562. method of synchronizing audio and ink. It also demonstrates a method of
  563. capturing ink at high resolution and scaling the ink back down to a lower
  564. resolution for display.
  565.  
  566. You will need an system with OS/2 2.1, Pen for OS/2 1.0, and MMPM/2 1.1 in
  567. in order to execute the application. You will need the OS/2 2.1 Toolkit,
  568. Pen for OS/2 1.0 Toolkit, MMPM/2 1.1 Toolkit, and C Set/2 1.0 compiler in
  569. order to compile and link the application.
  570.  
  571. To run the sample:
  572.         Run MMINK.EXE
  573.  
  574. Once the application is up and running select the Voice and Ink option from
  575. the menu or gesture A-tap in the client area to activate the annotation
  576. dialog.
  577.  
  578. Known Problems and Limitations
  579. ==============================
  580. o   HWX control does not allow you to create a window if the window is
  581.     smaller than the width or height of a bounding box.
  582. o   The HWX control does not send you a WM_CONTROLLPOINTER message as
  583.     stated in Pen for OS/2 Programming Guide and Reference.
  584.               --------------------------------------------
  585.  
  586. Notices
  587. =======
  588. References in this document to IBM products, programs, or services do not
  589. imply that IBM intends to make these available in all countries in which IBM
  590. operates.  Any reference to an IBM product, program or service is not intended
  591. to state or imply that only IBM's product, program, or service may be used.
  592. Any functionally equivalent product, program, or service that does not infringe
  593. any of IBM's intellectual property rights or other legally protectable rights
  594. may be used instead of the IBM product, program, or service.  Evaluation and
  595. verification of operation in conjunction with other products, programs, or
  596. services, except those expressly designated by IBM, are the user's
  597. responsibility.
  598.  
  599. IBM may have patents or pending patent applications covering subject matter in
  600. this document.  The furnishing of this document does not give you any license
  601. to these patents.  You can send license inquiries, in writing, to the
  602. IBM Director of Commercial Relations, IBM Corporation, Purchase, NY 10577.
  603.  
  604. Trademarks
  605. ==========
  606. The following terms in this document, are trademarks of the IBM Corporation
  607. in the United States or other countries:
  608.  
  609.   IBM
  610.   OS/2
  611.   Presentation Manager
  612.   Workplace Shell
  613.