mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
/**********************************************************************/
|
|
/** Microsoft Windows/NT **/
|
|
/** Copyright(c) Microsoft Corp., 1994 **/
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
slenum.hxx
|
|
|
|
Class definitions for the SLE_NUM class
|
|
|
|
FILE HISTORY:
|
|
CongpaY 6-March-1995 Created.
|
|
|
|
*/
|
|
|
|
|
|
#ifndef _SLENUM_HXX_
|
|
#define _SLENUM_HXX_
|
|
|
|
#include <bltdisph.hxx>
|
|
#include <bltcc.hxx>
|
|
|
|
/*************************************************************************
|
|
|
|
NAME: SLE_NUM
|
|
|
|
SYNOPSIS: The class represents the sle which only allows entering
|
|
numbers.
|
|
|
|
INTERFACE: SLE_NUM - Class constructor.
|
|
|
|
~SLE_NUM - Class destructor.
|
|
|
|
PARENT: SLE
|
|
|
|
USES:
|
|
|
|
HISTORY:
|
|
CongpaY 6-March-1995 Created.
|
|
|
|
**************************************************************************/
|
|
class SLE_NUM : public SLE, public CUSTOM_CONTROL
|
|
{
|
|
protected:
|
|
|
|
virtual BOOL OnChar (const CHAR_EVENT & event);
|
|
|
|
public:
|
|
SLE_NUM (OWNER_WINDOW * powin, CID cid, UINT cchMaxLen = 0 );
|
|
|
|
~SLE_NUM();
|
|
};
|
|
|
|
#endif // _SLENUM_HXX_
|