Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX w/OpenGL, Scrolling errors

Status
Not open for further replies.

mcstrujillo

Programmer
Sep 18, 2008
1
0
0
US
I have created an ActiveX control that uses OpenGL to draw within it's window. It is hosted in a web page with additional HTML. During scrolling actions of the parent window, the control appears to overwrite it's bounds (overlaps the HTML).

I thought at first it might be the control trying to draw outside it's window but after watching events like WM_WINDOWPOSCHANG[ING|ED] and WM_MOVE, it almost appears to be an issue with how IE is performing it's scrolling (I've verified that we have not performed any OpenGL calls until after the scroll is complete).

Anybody seen this before, or have any suggestions?

I've tried some ugly hacks like forcing Window Updates of the screen after the scroll but of course it gives me an ugly flicker.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top