Fujitsu FMW4503TS128A01 Tablet User Manual


 
73
Chapter 9
Programmable Hotpad Libraries for Windows Applications
This chapter provides details on using libraries that allow Windows applications to use the
programmable hotpad on the pen tablet.
Note: The library files and the header file referenced in this chapter can be downloaded from the Fujitsu PC
website: www.fujitsupc.com
The following two libraries allow you to use the programmable hotpad with your applications:
HOTPAD.DLL
A dynamic-link library.
HOTPAD.LIB
A static library which allows your application to link to HOTPAD.DLL.
Functions described in this chapter are the same for both of these libraries. Use one of these libraries
depending on whether you want to use dynamic or static linking in your application.
To use dynamic linking:
Include the header file HOTPAD.H in the program code for your application.
The file HOTPAD.DLL must be in the C:\WINDOWS\SYSTEM directory at run time.
To use static linking:
Include the file HOTPAD.LIB in your program code.
The file HOTPAD.DLL must be in the C:\WINDOWS\SYSTEM directory at run time.
Note: The DLL is still used at run time when you use static linking. Using static linking resolves calls to the
DLL when your program is compiled.
Hotpad Notification 9
Applications using this DLL are notified when a hotpad event occurs (when the programmable hotpad is
tapped) using a notification message sent to the window procedure of the application.
Hotpad notification is enabled and disabled using the following functions:
SetHotpadNotification
This function enables hotpad notification for the calling application.
KillHotpadNotification
This function disables hotpad notification for the calling application.
These functions are described in the following sections.
Note: Hotpad notification using a call-back function is not supported by HOTPAD.DLL.