Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
AfxOleInsertDialog
                                              Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
 
  BOOL AfxOleInsertDialog( CString& name );
 
  Parameter   Description
 
  <name>      A reference to a CString to store the name that the user
              chooses.
 
  Remarks
 
  This global function prompts the user to choose a server from a list of
  registered applications.
 
  You must have the following statements in your client application's
  resource (.RC) file:
  #include <afxoleui.h>
 
  #include <afxres.h>
 
  #include <afxoleui.rc>
 
 
  Return Value
 
  TRUE if successful; otherwise FALSE. Returns FALSE if the required
  dialog resource cannot be found.
 
 
                                     -♦-