Skip to main content

Past Blast

Featured Products

Windows Mobile Developer Controls
Windows Mobile Developer Controls
Stay in touch using the DEVBUSS RSS feeds.
 

News

Windows Mobile Developer Controls
Windows Mobile Developer Controls

Review of HandData's numerical keypad control.

Written by Derek Mitchell  [author's bio]  [read 25686 times]
Edited by Derek

Page 1  Page 2 

Control: HD Keypad control from HandData
Use: Numerical Keypad input for eVB and eVC++
Cost: $39.95

How the Keypad control works

The HandData keypad control provides a popup keypad for eVB and eVC applications requiring numerical input. Implementation as an ActiveX control ensures good response times, the control paints quickly and worked flawlessly when I put it through it's paces in the eVB Emulator. It is implemented as a modal dialog requiring explicit 'Enter' or 'Cancel' commands to close.

The control implements a basic numeric keypad with keys for numbers 0 - 9, braces, decimal point and space (sp). There are 4 control buttons; Cancel, Del, Clr and Enter with the Del clearing one key entry at a time and the Clr button clearing all input.

Registering the control

After you have unzipped the file, open a command prompt window and navigate to the \unzipped path\Desktop\Design path and register the control using:

regsvr32 keypad.ocx

Note the documentation is slightly out here since the correct directory is the \unzipped path\Desktop\Design directory not the \unzipped path\Desktop\ as mentioned in the PDF file.

Setting up the control for Emulation/Design

1) Copy the following dll's:
mfcce300.dll and olece300.dll
from:
C:\windows CE Tools\wce300\MS Pocket PC\mfc\lib\x86em
to:
C:\windows CE Tools\wce300\MS Pocket PC\emulation\Palm300\Windows

2) Next open up an eVB project and click Tools -> Remote Tools -> Control Manager

3) Expand the Pocket PC node and click on Pocket PC Emulation

4) Click on Control Menu -> Add New Control

5) Navigate to the \unzipped path\Desktop\Emulation directory, choose Keypad.ocx and OK. This will register the control for the emulation environment.

6) Click on the Desktop Design Controls tab in the Control Manager

7) Click on Control Menu -> Add New Control

8) Navigate to the \unzipped path\Desktop\Design directory, the same one you used in the regsvr32 command above and choose Keypad.ocx.

9) Click OK. This will register the control for the 'Desktop' environment.

Next Page