KeyPadAddHotSpot (int KeyCode, int CoordToUse,

                                   int XPos, int YPos, int XSize,

                                   int YSize)

 

Function:            Defines in software the location of a tablet HotSpot in logical tablet

                               coordinates with (0,0) being the upper left-most pixel. The ini file

                               parameters are used to map the points to logical coordinates if LCD

                               coordinates are used.

 

Arguments:         Integers:

 

                               KeyCode                       Integer value defining the HotSpot.

                               CoordToUse                 Coordinate system used for this HotSpot.

                                                                       0 = Logical tablet coordinates.

                                                                       1 = LCD coordinates.

                               XPos                              Location (upper left - 0,0).

                               YPos                               Location (upper left - 0,0).

                               XSize                             XSize in pixels.

                               YSize                             YSize in pixels.

 

Return Value:     Void.

 

Remarks:             The KeyPadAddHotSpot() method will require slight variations in pixel

                                coordinate location (arguments 3 and 4 vary from about 1 to 5 pixels)

                                from its counterpart LCDWriteBitmap(), LCDWriteFile(), or

                                LCDWriteString() method call. For best results, Topaz recommends the

                                following in terms of adding hot spots:

 

                               1. Make the HotSpot larger than the image/text representing it. This

                                    eliminates "hunting and tapping" on the part of the user.

 

                               2. Make all HotSpots no smaller than 10 pixels on the X and Y axes.

 

 

 

 

 

 

 

 

 

_____________________________________________________________________

  Copyright 1995 - 2005, Topaz Systems, Inc. All Rights Reserved, Patent Pending

     Topaz Systems, Inc., 650 Cochran Street, Unit 6, Simi Valley, CA, USA, 93065

              Phone: 805 520-8282  Fax: 805 520-0867  www.topazsystems.com