将CEFSHARP DEVTOOLS最小化时,如何调整CEFSHARP DEVTOOLS的大小?

发布于 2025-02-07 01:10:17 字数 150 浏览 2 评论 0原文

在Winforms上使用CEFSHARP时,打开DevTools后,当最小化时,DevTools消失了!它不在任务栏中。它不能再次打开。我应该怎么办?调用browser.showdevtools()再次出现。 如何调整大小?

When using cefsharp on winforms, after opening devtools, when minimized, devtools disappears! It is not in the taskbar. It cannot be opened again. What should I do? Call browser.ShowDevTools() again and it will not come out.
How can I resize it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

才能让你更想念 2025-02-14 01:10:17

如果可能的话,我建议您升级到当前支持的版本(在撰写本文时102),您将获得大量的错误修复和改进。

在较新版本中,devtools窗口将出现在任务栏中。此行为在版本79中进行了更改,相关


如果您无法升级,则需要更改打开devtools的方式。

希望以下是有效的,我没有测试。

var host = chromiumWebBrowser.GetBrowser().GetHost();

var windowInfo = new WindowInfo();
windowInfo.SetAsPopup(null, "DevTools");

host.ShowDevTools(windowInfo);

If at all possible I'd suggest you upgrade to the current supported version (102 at time of writing), you'll get a huge number of bug fixes and improvements.

In newer versions the DevTools Window will appear in the task bar. This behaviour was changed in version 79, relevant commit.


If you are unable to upgrade then you'll need to change how you open DevTools.

The following should hopefully work, I've not tested.

var host = chromiumWebBrowser.GetBrowser().GetHost();

var windowInfo = new WindowInfo();
windowInfo.SetAsPopup(null, "DevTools");

host.ShowDevTools(windowInfo);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文