IMG Developer's Kit: Developer's Kit Guide and Technical Documentation; Version 1.90; User's Guide | ||
---|---|---|
Prev | Chapter 7. Language and Platform Examples | Next |
FOLDER: MTSEDIT
TYPE: COM control Project
SOURCE: INCLUDED
LANGUAGE: C++
IDE: Microsoft Visual C++ 6
There is a lengthy document in the MTSEDIT folder (MTSEDIT.DOC (Wordpad / Word 6.0)) that should be referenced if you are going to review the code.
Overview
This is a step-by-step example of building a COM control based on the default Edit control with calls to manipulate the My-T-Soft keyboard window. The result is an Edit control (which can be used in any environment capable of adding a COM control) that makes the keyboard window visible when it receives the keyboard input focus, and "hides" the window when it loses the input focus. Meant as a useful & educational guide for accessing the power of COM controls, it can be dropped into Visual Basic (or other high-level environment) and be used directly. For programmers familiar with COM controls, adding additional intelligence, properties, or modifying it to meet a specific set of requirements will be straightforward.
Note that all of this COM control's capabilities can also be accomplished using the base developer's kit compiled executables (or Windows API source code), or using the MTSDLL DLL (see Access 97 Example).
Version 1.71 - 3/17/2001
Copyright 2001 by Innovation Management Group, Inc. All Rights Reserved.
My-T-Mouse, My-T-Pen, My-T-Touch, and My-T-Soft are registered trademarks of Innovation Management Group, Inc.
As seen in ...