home *** CD-ROM | disk | FTP | other *** search
- /*
- * Header file for the PM small model template
- *
- * Written by William S. Hall, Olivetti ATC
- *
- */
-
- /* This trick makes variables extern in modules EXTERN is not defined */
- #if !defined(EXTERN)
- #define EXTERN extern
- #endif
-
- /* resource string constants */
- #define IDS_APPNAME 100
- #define IDS_ICON 101
- #define IDS_TITLE 102
-
- /* global variables */
- EXTERN HAB hAB; /* anchor block handle */
- EXTERN HMQ hmqMsgQ; /* handle to message queue */
- EXTERN HWND hwndFrame; /* handle to window frame */
- EXTERN HWND hwndMain; /* handle to main client window */
- EXTERN ULONG xIconsize, yIconsize; /* size of icon */
- EXTERN LONG CharWidth, CharHeight; /* height of default font */
- EXTERN char szAppName[10]; /* application name string */
- EXTERN char szIcon[5]; /* icon string */
-
- /* function declarations common to both code modules */
- BOOL FAR InitProgram(int argc, char *argv[]);
- MRESULT FAR PASCAL MainWndProc( HWND, USHORT, MPARAM, MPARAM );
- void FAR WndCreate(HWND hWnd);