PDA

View Full Version : OpenGL on Borland C++ Builder TImage control



Javac
08-10-2003, 06:00 AM
Is it possible to draw with OpenGL on C++
Builder TImage control?

MZ
08-10-2003, 06:33 AM
Never tried, but I think it isn't. TImage is not derived from TWinControl, so it doesn't have its own Handle, and it's actually reusing HDC of its parent control when drawing. Use TPanel or just draw to TForm. Or create own subclass of TWinControl.