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.
当我更改表单ShowInTaskbar属性时,会创建一个新句柄,webview(awesomium)现在不知何故为空。有什么办法可以恢复之前的状态吗?提前致谢。
ShowInTaskbar
webview(awesomium)
当这个 bug 发生时,可以通过为 webview 提供一个新的句柄来修复它。
this.Controls.Remove(webPanel); webPanel = new Panel(); this.Controls.Add(webPanel); webView.ParentWindow = webPanel.Handle; resize(); return;