home *** CD-ROM | disk | FTP | other *** search
- /*
- * Winaux header file
- *
- * Written by Bill Hall
- * 3665 Benton Street, #66
- * Santa Clara, CA 95051
- *
- */
-
- /*
- This little trick insures that the external variables are delcared
- in only one place, namely in the file where EXTERN is defined.
- */
- #ifndef EXTERN
- #define EXTERN extern
- #endif
-
- /* functions declarations which are shared among modules */
- BOOL FAR InitProgram(HANDLE,HANDLE,LPSTR,int);
- LONG FAR PASCAL MainWndProc(HWND,unsigned,WORD,LONG);
- BOOL FAR PASCAL AboutBoxProc(HWND,unsigned,WORD,LONG);
- void WndCreate(HWND, LONG);
- void NEAR MainWndPaint(HWND, LPPAINTSTRUCT);
- int SetWinIni(HWND hWnd);
- void NEAR AdjustHeight(short width, short height);
- void NEAR WndCommand(HWND hWnd, WORD wParam);
- void NEAR DispatchString(HWND hWnd, WORD wParam, LONG lParam);
-
- /* dialog box manifest */
- #define DT_ABOUT 1
-
- /* string manifests */
- #define IDS_APPNAME 100
- #define IDS_WINTITLE 102
- #define IDS_ICONSTRING 103
- #define IDS_HWND 104
- #define IDS_X 105
- #define IDS_Y 106
- #define IDS_CX 107
- #define IDS_CY 108
- #define IDS_LOGFILE 109
- #define IDS_NOLOGFILE 110
- #define IDS_BEGINLOG 111
- #define IDS_ENDLOG 112
-
- /* menu items */
- #define IDM_ABOUT 200
- #define IDM_CRONLF 201
- #define IDM_CLEAR 202
- #define IDM_LOG 203
-
- /* global variables */
- EXTERN struct TTYWND MWnd;
- EXTERN char szAppName[10];
- EXTERN char szIconTitle[5];
- EXTERN char szhWnd[5];
- EXTERN char szBeginLog[50];
- EXTERN char szEndLog[50];
- EXTERN int hFile;
- EXTERN BOOL LogToFile;