Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I have an application that is using the TAO SimpleOpenGlControl. I am rendering surfaces, line and points with no issues into the control but when I try to call the DrawToBitmap method on the control I do not get the redered graphics - I get a solid black image (the control has a red background color). I really need to get this method to function properly since I am using a third party control which leverages the DrawToBitmap method for printing. Any help would be greatly appreciated.

Thanks
Jason
Posted

1 solution

Your only source of information on this would be the people who made the control. Unfortunately, it doesn't look like they're around any more, so I'd say abandon development using that library and switch to something that IS supported.

Since the control is not drawing to a normal Win32 surface, you're not going to get it to work with DrawToBitmap.

I can't suggest anything more than I already have because there is no way of knowing how that control works, nor is there any documentation to be found on it that isn't on abandoned domain.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900