none
CRichEditCtrl中插入gif图片后,如果实现该图片的复制与粘贴? RRS feed

答案

  • GetClipboardData的实现呢?如果你要使用默认的处理方式应该返回E_NOTIMPL

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    • 已标记为答案 tsingmei 2010年5月31日 6:19
    2010年5月31日 3:06
    版主

全部回复

  • CRichEditCtrl中插入gif图片后,如果保存该gif图片?
    2010年5月30日 8:45
  • 你的IRichEditOleCallback::GetNewStorage 怎么实现的?

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    2010年5月31日 1:56
    版主
  •     //Create a flat storage and steal it from the client item
        //the client item is only used for creating the storage
        COleClientItem item;
        item.GetItemStorageFlat();
        *ppstg = item.m_lpStorage;
        HRESULT hRes = E_OUTOFMEMORY;
        if (item.m_lpStorage != NULL)
        {
            item.m_lpStorage = NULL;
            hRes = S_OK;
        }
        return hRes;

     

    这样实现的。。。。

    2010年5月31日 2:15
  • GetClipboardData的实现呢?如果你要使用默认的处理方式应该返回E_NOTIMPL

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    • 已标记为答案 tsingmei 2010年5月31日 6:19
    2010年5月31日 3:06
    版主