Linebeck
Linebeck
CC#
Created by Linebeck on 6/19/2023 in #help
❔ 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));

}
3 replies