win32 api : SetParent 函数,试一下!

解决方案 »

  1.   

    使用 HINSTANCE ShellExecute(    HWND hwnd, // handle to parent window
        LPCTSTR lpOperation, // pointer to string that specifies operation to perform
        LPCTSTR lpFile, // pointer to filename or folder name string
        LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters 
        LPCTSTR lpDirectory, // pointer to string that specifies default directory
        INT nShowCmd  // whether file is shown when opened
       );
     
      

  2.   

    用ShellExecute是无法实现内欠的
      

  3.   

    你使用下面这个函数来实现:createprocess,具体用法查查帮助.
      

  4.   

    有人提供原代码吗???比如把外部的EXE文件运行在自己程序规定的框内天哪!.....
      

  5.   

    你要实现像OLE那样的效果吗?
    你要执行的那个程序支持OLE吗?