Click to See Complete Forum and Search --> : Active document Server


haoj
April 28th, 1999, 10:39 AM
Hi experts:
Does Active Document Server support Paste Link?
I use VC++ 6.0 to create a Active Document Server. I do Edit|Copy as following:

CAutosvrSrvrItem itm(GetDocument());
itm.CopyToClipboard(TRUE);



And the constructor of CAutosvrSrvrItem is following

CAutosvrSrvrItem::CAutosvrSrvrItem(CAutosvrDoc* pContainerDoc)
: CDocObjectServerItem(pContainerDoc, TRUE)
{
....
}



I also implement function

BOOL CAutosvrSrvrItem::OnRenderFileData(LPFORMATETC lpFormatEtc, CFile *pFile)




Then I open MS Word | Edit | Paste Special dialog box, the paste link option is disabled. Is that because of Active document or Did I do something wrong?