Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 在同一浏览器选项卡中打开链接
如何以这样一种方式做到这一点,即 URL 在一个浏览器窗口中打开,每个窗口都在单独的选项卡中?对于所有主要浏览器,有没有办法以一般方式做到这一点?谢谢!
ShellExecute(NULL, "open", URL_GOES_HERE, NULL, NULL, SW_SHOWNORMAL); 应该可以在同一个窗口中打开多个选项卡, 显然你需要ShellExecute每个 url 一行
ShellExecute(NULL, "open", URL_GOES_HERE, NULL, NULL, SW_SHOWNORMAL);
ShellExecute