home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
numhdl.zip
/
NUMERIC.HPP
< prev
Wrap
Text File
|
1993-09-29
|
1KB
|
25 lines
/**************************************************************************/
/* class NumericHandler */
/* Change History: */
/* Rel Programmer Stamp Date Description */
/* --- ----------------- ----- -------- --------------------------------- */
/* 1.0 Drew Frantz AFF 09/29/93 Creation */
/* A simple numeric handler that is subclassed from the an */
/* IKeyboardhandler. This handler can be attached to IEntryfield instances*/
/* to only permit the entry of numeric characters within the field */
/* (c) Campbell Soup Co. 1993 */
/* CIS: 70712,3547 */
/**************************************************************************/
#include <ikeyevt.hpp>
#include <ihandler.hpp>
#include <ikeyhdr.hpp>
// ===================================================================
class NumericHandler : public IKeyboardHandler
{
public:
NumericHandler();
private:
Boolean characterKeyPress(IKeyboardEvent& keyevt);
};
// ===================================================================