BlackDragon777
November 17th, 2008, 08:41 AM
Hi. I would like to render a flash active x control offscreen, take its texture and then render it to a quad. My screen size is 800x600.
Obviously I don't want the flash control to be on the screen where the user can see it. I just want to take its texture and texture it to a polygon.
I have manged to grab the texture of the flash control however it only works when I position the control in the viewable area of the window. If I move it off screen, say (800,0), the image that is returned is a black image.
I am thinking that windows automatically clips these controls if they are not in the viewable area of a screen which is normally a good thing but in my case is causing problems for me.
Do any of you winapi experts know how to prevent windows from clipping controls that are being rendered off screen? Thanks in advance!
Obviously I don't want the flash control to be on the screen where the user can see it. I just want to take its texture and texture it to a polygon.
I have manged to grab the texture of the flash control however it only works when I position the control in the viewable area of the window. If I move it off screen, say (800,0), the image that is returned is a black image.
I am thinking that windows automatically clips these controls if they are not in the viewable area of a screen which is normally a good thing but in my case is causing problems for me.
Do any of you winapi experts know how to prevent windows from clipping controls that are being rendered off screen? Thanks in advance!