Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COleServer::OnEditDoc
COleServer                                  Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual COleServerDoc* OnEditDoc( const char FAR* <lpszClass>,
                 const char FAR* <lpszDoc> ) = 0;
 
  Parameter   Description
 
  <lpszClass> A null-terminated string that specifies the class name of an
              OLE server document type (rarely used).
 
  <lpszDoc>   A null-terminated string that usually specifies the name of
              an existing document.
 
  Remarks
 
  You must implement this callback function to open an existing OLE server
  embedded document for editing. It is called in response to the client's
  edit request.
 
  Note that this function is specialized for embedded documents; the
  OnOpenDoc member function is called for linked documents.
 
  Return Value
 
  If successful, a pointer to an OLE server document; otherwise NULL.
 
  See Also
 
  COleServer::OnOpenDoc
 
 
                                     -♦-