Hello friends,
WebView: The background of the HTML window when displaying PDFs first turns black, then light gray; for image files, it is black; for txt or xml files, the entire window width is used.
WORKAROUND
I have now found a workaround.
I use a SAY and take the window handle from the SAY for the WebView2.
I initialize the SAY outside the visible area.
A timer is created that changes the position of the SAY object after a specified time period.
Best regards,
Otto