Activex control opened in multiple tabs big performance hit

18 views
Skip to first unread message

Bobby Pardridge

unread,
Apr 15, 2016, 8:36:47 PM4/15/16
to ff-activex-host
Hi,
First I want to thank you for this great plugin. 

I am noticing something though, my control really slows down when I have it open in more than 1 tab. I am not noticing this in IE. With IE, I can have my control open in multiple tabs and there isn't any noticeable performance hit.

Any ideas?
Thanks,
Bobby

Bobby Pardridge

unread,
Apr 15, 2016, 9:07:43 PM4/15/16
to ff-activex-host
I think I may have fixed it, since I am using DirectX to draw the scene, I was just doing my draw calls in an onTimer method. I changed the onTimer to call Invalidate() (which basically tells the control to call OnDraw()), and moved my directx draw calls to the onDraw function, and it seems to have fixed it. Not sure why that fixed it but I'll roll with it for now. 
Reply all
Reply to author
Forward
0 new messages