home *** CD-ROM | disk | FTP | other *** search
- /*
- * Header file for the digital clock.
- *
- * Written by Michael Babcock and Bill Hall
- * April 20, 1988
- *
- */
-
- /* This trick insures that globals are declared in only one place */
- #if !defined(EXTERN)
- #define EXTERN extern
- #endif
-
- /* Declarations which need to be known in all C source files */
- LONG FAR PASCAL MainWndProc(HWND,unsigned,WORD,LONG);
- BOOL FAR InitProgram(HANDLE, HANDLE, LPSTR, int);
-
- /* Resource string constants */
- #define IDS_APPNAME 100
- #define IDS_DISPLAYNAME 101
- #define IDS_TIMESTR 102
- #define IDS_AM 103
- #define IDS_PM 104
- #define IDS_FONTWIDTH 105
- #define IDS_FONTHEIGHT 106
- #define IDS_FONTWEIGHT 107
-
- /* Global variables */
- EXTERN HWND hWndMain; /* main window handle */
- EXTERN HFONT hFont; /* handle to font used when drawing in icon */
- EXTERN WORD ClockTimerEventID; /* timer event identifier */
- EXTERN char szAppName[10]; /* name of the application */
- EXTERN char szTimestr[10]; /* icon title string */
- EXTERN char szAM[10]; /* A. M. string */
- EXTERN char szPM[10]; /* P. M. string */