C
C#2y ago
Linebeck

❔ Webbrowser/Webbox flickers on startup

Anybody know why the webbox quickly appears before showing right on it's parent? https://i.gyazo.com/83127205b6fb2cffd46fd7505f72cd77.mp4 This is how i call it:
public void InitializeWebbox()
{
var hWnd = new WindowInteropHelper(this).EnsureHandle();
sliderBox = new Webbox(_sliderBox, hWnd);
sliderBox.AllowsTransparency = false;
sliderBox.Topmost = false;
WebBrowser sliderBrowser = sliderBox.WebBrowser;
sliderBrowser.Navigate(new Uri(sliderUrl));

}
public void InitializeWebbox()
{
var hWnd = new WindowInteropHelper(this).EnsureHandle();
sliderBox = new Webbox(_sliderBox, hWnd);
sliderBox.AllowsTransparency = false;
sliderBox.Topmost = false;
WebBrowser sliderBrowser = sliderBox.WebBrowser;
sliderBrowser.Navigate(new Uri(sliderUrl));

}
2 Replies
Linebeck
LinebeckOP2y ago
Solved by doing it via an extra Window. Idk why but there no "flickering" appears
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server