想找一个IE窗口,给它发一个URL并显示URL指定的内容人,有人说可以用
ShellExecute(0,pchar('open'), pchar'www.sina.com.cn'), '', '', SW_SHOWNORMAL); 但我用过之后发现ShellExecute会把URL发送给我最后建的哪个IE窗口,请问我能不能指定一个IE窗口呀???谢谢!!
ShellExecute(0,pchar('open'), pchar'www.sina.com.cn'), '', '', SW_SHOWNORMAL); 但我用过之后发现ShellExecute会把URL发送给我最后建的哪个IE窗口,请问我能不能指定一个IE窗口呀???谢谢!!
解决方案 »
- 请给我个线程中增加记录到数据库的例子,谢谢!
- 有没有忽略错误继续执行下一句的方法.类似vb中on error resume next
- 我用Lookup 字段,为什么编辑时不会更新,要保存才能更新.要如何解决?
- 请“版主”或“高手”解决RichEdit难题
- 小菜一碟——几个硬件端口控制效果较好的VCL,介绍给大家。(有示例代码)
- QuantumGrid在Delphi中安装后,运行Delphi6时报什么函数找不到入口,为什么?
- ########如何可以看速达3000中的数据结构######
- Delphi6中的ADO问题
- 发这个贴没别的意思,只是让各位见识见识,反正今晚我是吃不下饭了!妈的,真他妈的恶心!!!
- 高手请进
- 一个简单问题,关于delphi的
- 怎么在指定目录下按照文件的创建时间查找文件?
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
);
你选定hwnd发啊