home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dokpr1.zip / sampapp / sampApp.h < prev    next >
C/C++ Source or Header  |  1995-06-17  |  1KB  |  58 lines

  1. /*
  2. Sample Mesa DOK - Mesa 2 for OS/2 application
  3. Copyright 1995, Athena Design, Inc.
  4.  
  5. */
  6.  
  7. #ifndef    _SAMPAPP_H
  8. #define    _SAMPAPP_H
  9.  
  10. #define INCL_WIN
  11. #define INCL_GPI
  12. #define INCL_DOS
  13. #define INCL_ERRORS
  14. #define INCL_DEV
  15. #define INCL_SPL
  16. #define INCL_RXFUNC
  17. #define INCL_RXARI
  18. #define INCL_SPLDOSPRINT
  19. #define INCL_DOSPROCESS
  20.  
  21. #include "os2.h"
  22.  
  23. #define IDD_MYAPP                1
  24. #define DID_RANDOM            1000
  25. #define DID_ENDWALK            DID_RANDOM + 1
  26. #define DID_EXIT            DID_RANDOM + 2
  27. #define DID_LOADTEXT        DID_RANDOM + 3
  28. #define SAMPAPP_BASE            512
  29. #define SAMPAPP_ADDRESS        SAMPAPP_BASE + 0
  30. #define SAMPAPP_CONTENTS    SAMPAPP_BASE + 1
  31. #define SAMPAPP_STOCK1        SAMPAPP_BASE +2
  32. #define SAMPAPP_STOCK2        SAMPAPP_BASE +3
  33. #define SAMPAPP_STOCK3        SAMPAPP_BASE +4
  34. #define SAMPAPP_STOCK4        SAMPAPP_BASE +5
  35. #define SAMPAPP_PRICE1        SAMPAPP_BASE +6
  36. #define SAMPAPP_PRICE2        SAMPAPP_BASE +7
  37. #define SAMPAPP_PRICE3        SAMPAPP_BASE +8
  38. #define SAMPAPP_PRICE4        SAMPAPP_BASE +9
  39. #define SAMPAPP_VIEW            SAMPAPP_BASE +10
  40.  
  41.  
  42. // timer identifier
  43. #define    ID_TIMER            1
  44.  
  45. // beginning of user-defined messages
  46.  
  47. #define    MEM_UPDATESCREEN    (WM_USER )
  48.  
  49. // function prototypes
  50. void loadStocks();
  51. void releaseStocks();
  52. void updateScreenVals( HWND );
  53. void walkRandom();
  54. void stubToMesa();
  55. void pasteIntoMesa( char *, char * );
  56.  
  57. #endif    // sampApp
  58.