How to Set Up Desktop Computer for Developing Pen ApplicationsLast reviewed: June 21, 1995Article ID: Q121097 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0
SUMMARYThe PENCNTRL.VBX custom control provides an easy method for developing pen- based applications. However, this control will not load unless Windows for Pen Computing is detected on your computer. This article explains how to use the Microsoft Windows Software Development Kit (SDK) to develop pen- based applications without having to install Windows for Pen Computing. The More Information section below contains the first four sections of the README.TXT provided with the Microsoft Windows SDK. It tells you how to configure your computer to provide basic Pen functionality. To make use of this information, you must have either the Microsoft Windows Software Development Kit or Microsoft Visual C++ Profession Edition.
MORE INFORMATIONThe following information is from the README.TXT file included with Microsoft Windows for Pen Computing Files. This file contains the following information regarding building Microsoft Windows for Pen Computing applications: I. Introduction II. Hardware Requirements and Basic Limitations III. Installation Notes and Procedures IV. Shipping PENWIN.DLL with your application
I. IntroductionThe Windows SDK contains sufficient components from Windows for Pen Computing to allow the application designer to build and test pen applications. The Microsoft Mouse can be used to get a rough idea of how recognition and a pen will work. However, it is strongly recommended that Windows for Pen Computing hardware in the form of a computer or peripheral device be used during the design and development process. This is critical because a pen gives the application designer an accurate feeling for how an application will work in real situations and because the Microsoft Alphanumeric Recognition System shipped with the Windows SDK has been optimized for a pen and will work less well with a mouse.
II. Hardware Requirements and Basic Limitations
III. Installation Notes and Procedures (***** READ THIS *****)
Installing the Pen Components - MinimumThis procedure will result in a system that will let you build applications that contain hedit and bedit controls - and call any of the Windows for Pen Computing APIs. You will not be able to perform handwriting recognition or see ink on the screen. SYSTEM.INI Changes: Add or change the following items in your SYSTEM.INI file so that the pen extensions will work. NOTE: Back up your old SYSTEM.INI file before proceeding.
Installing the Pen Components - CompleteThis procedure will result in a system that will run pen applications and allow you to experiment with handwriting recognition and inking functionalities in your applications. Once again, interaction with the mouse will prove inferior in every respect to interaction with a true pen device - but this system of using the special mouse driver will allow you to experiment and perform rudimentary testing of your pen functionalities. SYSTEM.INI Changes: Add or change the following items in your SYSTEM.INI file so that the pen extensions will work. NOTE: Back up your old SYSTEM.INI file before proceeding.
The PENWIN.INI file contains a number of initialization settings for Windows for Pen Computing. There are also two explicit paths that must correctly identify the locations of MARS.DLL and MARS.MOB. The Windows SDK installation procedure did not update these paths for users who chose to install to a directory other than the default, so you need to update them by hand. Open PENWIN.INI with any generic text editor (like Windows Notepad) and change the path to MARS.DLL so that it correctly identifies and points to the current MARS.DLL location. Do the same for MARS.MOB. Once the paths are correct, copy the file to the Windows version 3.1 root - that is, the directory containing the Windows version 3.1 WIN.COM file. IV. Shipping PENWIN.DLL with your application PENWIN.DLL is a fully redistributable component of Windows for Pen Computing. Because applications will seek to leverage the Pen API - hedit and bedit controls in particular - PENWIN.DLL can be shipped with your application. There are some considerations to keep in mind in shipping PENWIN.DLL with your application:
|
Additional reference words: 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |