如何在Onclick事件中打开outlook?

chengfeng 2001-06-11 09:42:00
...全文
91 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
chengfeng 2001-07-18
  • 打赏
  • 举报
回复
1
kasteboy 2001-06-12
  • 打赏
  • 举报
回复
ShellExecute(handle, 'open', 'mailto:', nil, nil, SW_SHOWNORMAL);
其中mailto:可写成 mailto:xxx@163.net
自己试一下就知道了
airhorse 2001-06-11
  • 打赏
  • 举报
回复
ShellExecute(handle, NULL, path_to_folder, NULL, NULL, SW_SHOWNORMAL);

or
HINSTANCE ShellExecute(
HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
ShellExecute(handle, "open", path_to_folder, NULL, NULL, SW_SHOWNORMAL);//打开动作,

To explore a folder, use the following call: //浏览器

ShellExecute(handle, "explore", path_to_folder, NULL, NULL, SW_SHOWNORMAL);
BlueTrees 2001-06-11
  • 打赏
  • 举报
回复
方法一:ShellExecut(路径)
方法二:看MSDN 中 Shell APIs 的其他部分,查关键字IE或者是InternetExploer

5,930

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧