home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pc3270sa.zip / eclscdsc.hpp < prev    next >
C/C++ Source or Header  |  2002-02-28  |  2KB  |  48 lines

  1. //-------------------------------------------------------------------------------
  2. // Module:  eclscdsc.hpp
  3. //-------------------------------------------------------------------------------
  4. //
  5. // Description:  ECLSreenDesc header file. 
  6. //
  7. //-------------------------------------------------------------------------------
  8. // Copyright Notice: IBM Personal Communication/3270 Version 4.3
  9. //                   (C) COPYRIGHT IBM CORP. 1989,1998 - PROGRAM PROPERTY
  10. //                   OF IBM ALL RIGHTS RESERVED
  11. //-------------------------------------------------------------------------------
  12. #include "eclall.hpp"                                                  
  13. #ifndef _SCREN_DESC_H
  14. #define _SCREN_DESC_H
  15.  
  16. typedef enum{DONTCARE=0x00, NOTINHIBITED}OIAStatus;
  17.  
  18. class ECLSDData;
  19. class ECLScreenReco;
  20.  
  21. class DllExport ECLScreenDesc
  22. {
  23. private: // Class private data
  24.     ECLSDData* pd;
  25.  
  26. protected:
  27.     //Implementation, Not for publication
  28.     void AddStringPos(LPCSTR s, UINT pos = 0, BOOL CaseSensitive = TRUE);
  29.  
  30. public:
  31.     ECLScreenDesc();
  32.     ~ECLScreenDesc();
  33.  
  34.     void AddCursorPos(UINT row, UINT col);
  35.     void AddAttrib(BYTE attrib, UINT pos, PS_PLANE plane = FieldPlane);
  36.     void AddAttrib(BYTE attrib, UINT row, UINT col, PS_PLANE plane = FieldPlane);
  37.     void AddString(LPCSTR s,UINT row, UINT col, BOOL CaseSensitive = TRUE);
  38.     void AddStringInRect(LPCSTR s,int top, int left, int bottom, int right, BOOL CaseSensitive = TRUE);
  39.     void AddOIAInhibitStatus(OIAStatus type = NOTINHIBITED);
  40.     void AddNumFields(UINT n);
  41.     void AddNumInputFields(UINT n);
  42.     void Clear();
  43.  
  44.     friend class ECLScreenReco;
  45. };
  46.  
  47. #endif
  48.