home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
19
/
digit.h
< prev
next >
Wrap
Text File
|
1992-09-22
|
1KB
|
50 lines
//------------------------------------------------------------------------
// DIGIT.H -- Include file for DIGIT.DLL and the DigitClass Control
//
// (c) Douglas Boling, 1992
//------------------------------------------------------------------------
#define DIGITCLASS "DigitClass"
//
// Digit Control Styles
//
#define DIGS_LED 0x0001L
#define DIGS_BLANK 0x0002L
#define DIGS_COLON 0x0004L
#define DIGS_DECIMAL 0x0008L
//
// Digit Contol Style labels (These strings must match above defines.)
//
#define DIGS_LEDSTR "DIGS_LED"
#define DIGS_BLANKSTR "DIGS_BLANK"
#define DIGS_COLONSTR "DIGS_COLON"
#define DIGS_DECIMALSTR "DIGS_DECIMAL"
//
// Digit Control Messages
//
#define DIGM_SET (WM_USER+1)
#define DIGM_GET (WM_USER+2)
#define DIGM_INC (WM_USER+3)
#define DIGM_DEC (WM_USER+4)
#define DIGM_SETBASE (WM_USER+5)
#define DIGM_GETBASE (WM_USER+6)
#define DIGM_BLANK (WM_USER+7)
//
// Digit Notification Messages
//
#define DIGN_CARRY 1
#define DIGN_BORROW 2
#define DIGN_LCLICK 3
#define DIGN_RCLICK 4
//
// IDs for Style and About dialog boxes used with the dialog box editors.
//
#define IDD_ABOUT 100
#define IDD_BLANK 201
#define IDD_COLON 202
#define IDD_DECIMAL 203
#define IDD_LED 204
#define IDD_LCD 205
#define IDD_CTLID 206