I have a TWebBrowser built into TForm. Whenever I press the Alt button, the browser window turns white. If I drag a shape around it, it will repaint properly.
What am I doing wrong?
Do I have DevExpress Bars and Quantum Grid, if that matters?
I am using Delphi 2010 and Windows 7 and XP SP2. IE versions are 7 and 8. Playable at all.
Before pressing Alt:

After pressing Alt:

I resolved this by usnig the following:
procedure TMainForm.WndProc(var Message: TMessage);
begin
inherited WndProc(Message);
if Message.Msg = WM_UPDATEUISTATE then
begin
if Assigned(ProblematicWebBrowser) then
ProblematicWebBrowser.Repaint;
end;
end;
source
share