8.Application Development

8.1Overview

This terminal uses the IBM PC/AT architecture. Though the actual display size is 192 (H) x 384 (V) pixels, internally the area of 640 (H) x 480 (V) pixels is supported by the dedicated display driver. It allows no limitation on programming. Therefore, if the user develops an application that makes use of the upper left side (192 (H) x 384 (V)) as display area, a dedicated application program will run on this terminal. It is possible to have coding also by using GetSystemMetrics of Windows API which can not be affected by the operating environment. Also, since the numeric keys of the IT-2000 generate the same keycodes as the IBM PC/AT machine, there is no need to discriminate between this terminal and the development machine in terms of the standard input/output operations.

In the IT-2000, a dedicated mouse driver has been installed to support the touch panel. Application program can acquire the tapping on the touch panel as it is clicked by the button on the left side of mouse. However, there is one limitation which does not allow the double-clicking (or double tapping on the touch panel). The reason is that it is not possible for the user to tap twice on the same narrow point. Therefore, a programmer must design such application program so that it can accept only input by single tapping on the panel.

Applications that use the COM1 port (8-pin) can be programmed in the same way they are for MS-Windows programming except that they must include the power control functions. On this terminal, the power to the COM port is default-set to off so that the power consumption is reduced to a minimum. Therefore, application programs that use the COM port must turn on the power to the COM port in advance using the system library.

141

Page 141
Image 141
Casio IT-2000W manual Application Development Overview