ProcessPaste.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // ProcessPaste.h: interface for the CProcessCopy class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_PROCESSPASTE_H__185CBB6F_4B63_4397_8FF9_E18D777DA506__INCLUDED_)
  5. #define AFX_PROCESSPASTE_H__185CBB6F_4B63_4397_8FF9_E18D777DA506__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "ArrayEx.h"
  10. #include "Clip.h"
  11. #include "ClipIds.h"
  12. #include "OleClipSource.h"
  13. /*------------------------------------------------------------------*\
  14. CProcessPaste
  15. \*------------------------------------------------------------------*/
  16. class CProcessPaste
  17. {
  18. public:
  19. COleClipSource* m_pOle;
  20. bool m_bSendPaste;
  21. bool m_bActivateTarget;
  22. bool m_bOnlyPaste_CF_TEXT;
  23. bool m_bPasteHTMLFormatAs_CF_TEXT;
  24. CProcessPaste();
  25. ~CProcessPaste();
  26. CClipIDs& GetClipIDs() { return m_pOle->m_ClipIDs; }
  27. BOOL DoPaste();
  28. BOOL DoDrag();
  29. void MarkAsPasted();
  30. static UINT MarkAsPastedThread(LPVOID pParam);
  31. void SetCustomPasteFormats(CClipFormats *pFormats) { m_pOle->m_pCustomPasteFormats = pFormats; }
  32. };
  33. #endif // !defined(AFX_PROCESSPASTE_H__185CBB6F_4B63_4397_8FF9_E18D777DA506__INCLUDED_)