Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

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);
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multithreading ans updating widgets
Next Topic: DropList bug when removing last item
Goto Forum:
  


Current Time: Sun Apr 27 10:39:33 CEST 2025

Total time taken to generate the page: 0.01103 seconds