home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / S12547.ZIP / MAKEBOX.H < prev    next >
Text File  |  1990-03-19  |  2KB  |  49 lines

  1. /********************************* MAKEBOX.H ******************\
  2. *
  3. *       HEADER FILE for VIO DBCS SAMPLE program
  4. *
  5. \**************************************************************/
  6.  
  7. #define CBMAXDBCS    10     // Max size of DosGetDBCSEv buffer
  8. #define VIOHANDLE     0     // default handle for full screen VIO
  9.  
  10. extern  int main(SHORT argc,char * *argv);
  11. extern  VOID MakeBox( USHORT yTop,USHORT xLeft, USHORT yBottom,
  12.                       USHORT xRight );
  13. extern  VOID SaveArea(USHORT yTop,USHORT xLeft, USHORT yBottom,
  14.                       USHORT xRight, BOOL fSave);
  15. extern  VOID ParseFrameMsg(PBYTE pchMsg, USHORT cbMsg);
  16.  
  17.  
  18. /******************** for OS2 1.2 US ********************
  19. *       These defines are needed to run under 1.2 US
  20. *********************************************************/
  21.  
  22.  
  23.  
  24. typedef struct t_VIOSCROLL { /* vioscroll */
  25.     USHORT  cb;
  26.     USHORT  type;
  27.     USHORT  cnscrl;
  28. } VIOSCROLL, FAR * PVIOSCROLL;
  29.  
  30. #define VS_GETSCROLL                  6
  31.  
  32.  
  33. #ifndef MSG_APPL_SINGLEFRAMECHAR
  34. #define MSG_APPL_SINGLEFRAMECHAR    130
  35. #define MSG_APPL_DOUBLEFRAMECHAR    131
  36. #define MSG_APPL_ARROWCHAR          132
  37. #endif
  38.  
  39. #ifndef VCC_SBCSCHAR
  40.  
  41. #define VCC_SBCSCHAR      0   // Cell contains SBCS character
  42. #define VCC_DBCSFULLCHAR  1   // Cell contains Full DBCS character
  43. #define VCC_DBCS1STHALF   2   // Cell contains leading byte of DBCS
  44. #define VCC_DBCS2NDHALF   3   // Cell contains trailing byte of DBCS
  45.  
  46. USHORT APIENTRY VioCheckCharType (PUSHORT pType, USHORT usRow,
  47.          USHORT usColumn, HVIO hvio);
  48. #endif
  49.