home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
source
/
wedl100
/
demo.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-10-14
|
3KB
|
87 lines
/*---------------------------------------------------------------------------*/
/* */
/* WEDL - Windows Enhanced Dialog Library */
/* Copyright (c) 1991, Mike Smedley */
/* All Rights Reserved */
/* Module: DEMO.H */
/* */
/*---------------------------------------------------------------------------*/
#define IDM_DIALOG1 100
#define IDM_DIALOG2 101
#define IDM_DIALOG3 102
#define IDM_DIALOG4 103
#define IDM_EXIT 104
#define IDM_ABOUT 105
#define ID_INSERT 200
#define ID_CAPSLOCK 201
#define ID_NUMLOCK 202
#define ID_SSN 300
#define ID_FNAME 301
#define ID_MIDINIT 302
#define ID_LNAME 303
#define ID_ADDRESS 304
#define ID_CITY 305
#define ID_STATE 306
#define ID_ZIP 307
#define ID_PHONE 308
#define ID_HIREDATE 309
#define ID_HIRETEXT 310
#define ID_RECNO 400
#define ID_ARTIST 401
#define ID_TITLE 402
#define ID_LABEL 403
#define ID_COPYRIGHT 404
#define ID_MEDIA 405
#define ID_PREVIOUS 406
#define ID_NEXT 407
#define ID_FILENAME 500
#define ID_PATHSPEC 501
#define ID_FILEBOX 502
#define ID_DIRBOX 503
#define ID_XMODEM 504
#define ID_YMODEM 505
#define ID_ZMODEM 506
#define ID_HANGUP 507
#define ID_NAME 600
#define ID_CSZ 601
#define ID_FITW 602
#define ID_WAGES 603
#define ID_SSTAX 604
#define BAD_DATE 900
#define BAD_STATE 901
#define BAD_ZIP 902
#define GOTO_ARTIST 903
#define BAD_FILENAME 904
/*---------------------------------------------------------------------------*/
extern int (FAR PASCAL *pcheck_date) (LPSTR);
extern int (FAR PASCAL *pcheck_state) (LPSTR);
extern int (FAR PASCAL *pcheck_zip_code) (LPSTR);
extern int (FAR PASCAL *pcheck_file_name) (LPSTR);
extern char tbuf[];
/*---------------------------------------------------------------------------*/
int FAR PASCAL check_date( LPSTR pbuf );
int FAR PASCAL check_state( LPSTR pbuf );
int FAR PASCAL check_zip_code( LPSTR pbuf );
int FAR PASCAL check_file_name( LPSTR pbuf );
int FAR PASCAL DialogProc1( HWND hDlg, unsigned message, WORD wParam,
LONG lParam );
int FAR PASCAL DialogProc2( HWND hDlg, unsigned message, WORD wParam,
LONG lParam );
int FAR PASCAL DialogProc3( HWND hDlg, unsigned message, WORD wParam,
LONG lParam );
int FAR PASCAL DialogProc4( HWND hDlg, unsigned message, WORD wParam,
LONG lParam );