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.
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.
 
 
                                     -♦-