Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Controls & classes design questions
Re: Controls & classes design questions [message #11047 is a reply to message #11044] |
Thu, 16 August 2007 12:06   |
|
Quote: |
You need to inherit from GLCtrl and overload GLPaint to be able to draw anything.
|
That's not true. GLCtrl call WhenGLPaint to which you can assign your painting routine:
GLCtrl gl;
gl.WhenGLPaint = THISBACK(MyGLPaint);
|
|
|
Goto Forum:
Current Time: Sun Apr 27 10:39:33 CEST 2025
Total time taken to generate the page: 0.01103 seconds
|