home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / RICHEDIT.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  2KB  |  103 lines

  1. //----------------------------------------------------------------------------
  2. // RichEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: RichEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef RichEditHPP
  6. #define RichEditHPP
  7. //----------------------------------------------------------------------------
  8. #include <Windows.hpp>
  9. #include <Messages.hpp>
  10. #include <System.hpp>
  11. #ifdef WIN32_LEAN_AND_MEAN
  12. #error "Cannot #include richedit.hpp when WIN32_LEAN_AND_MEAN is defined."
  13. #endif
  14. #ifdef _VCL_LEAN_AND_MEAN
  15. #include <windows.h>
  16. #undef _VCL_LEAN_AND_MEAN
  17. #endif
  18. #include <Richedit.h>
  19.  
  20. #pragma warn -par
  21. #pragma warn -hid 
  22. #pragma warn -inl
  23.  
  24. namespace Richedit
  25. {
  26. //-- type declarations -------------------------------------------------------
  27.  
  28. typedef _charformat  TCharFormat;
  29.  
  30. typedef _charrange  TCharRange;
  31.  
  32. typedef long __fastcall (*TEditStreamCallBack)(long dwCookie, Windows::PByte pbBuff, long cb, long &
  33.     pcb);
  34.  
  35. typedef _textrange  TTextRange;
  36.  
  37. typedef _editstream  TEditStream;
  38.  
  39. typedef _findtext  TFindText;
  40.  
  41. typedef _findtextexa  TFindTextEx;
  42.  
  43. typedef _formatrange  TFormatRange;
  44.  
  45. typedef _paraformat  TParaFormat;
  46.  
  47. typedef _msgfilter *PMsgFilter;
  48.  
  49. typedef _msgfilter  TMsgFilter;
  50.  
  51. struct TReqSize;
  52. typedef TReqSize *PReqSize;
  53.  
  54. struct TReqSize
  55. {
  56.     NMHDR nmhdr;
  57.     Windows::TRect rc;
  58. } ;
  59.  
  60. typedef _selchange *PSelChange;
  61.  
  62. typedef _selchange  TSelChange;
  63.  
  64. struct TEndDropFiles
  65. {
  66.     NMHDR nmhdr;
  67.     int hDrop;
  68.     long cp;
  69.     DWord fProtected;
  70. } ;
  71.  
  72. typedef _enprotected *PENProtected;
  73.  
  74. typedef _enprotected  TENProtected;
  75.  
  76. typedef _ensaveclipboard *PENSaveClipboard;
  77.  
  78. typedef _ensaveclipboard  TENSaveClipboard;
  79.  
  80. typedef _encorrecttext  TENCorrectText;
  81.  
  82. typedef _punctuation  TPunctuation;
  83.  
  84. typedef _compcolor  TCompColor;
  85.  
  86. typedef _repastespecial  TRepasteSpecial;
  87.  
  88. //-- var, const, procedure ---------------------------------------------------
  89. #define FT_MATCHCASE (Byte)(4)
  90. #define FT_WHOLEWORD (Byte)(2)
  91.  
  92. }    /* namespace Richedit */
  93.  
  94. #pragma warn .par
  95. #pragma warn .hid 
  96. #pragma warn .inl
  97.  
  98. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  99. using namespace Richedit;
  100. #endif
  101. //-- end unit ----------------------------------------------------------------
  102. #endif    // RichEdit
  103.