I need to create a custom control that is aware if its bounds, or even
position, has been changed as soon as it happens.
Specifically this is for an OpenGL viewport. The control needs to know
this so that the display can be updated appropriately.
The obvious solution would be to use a subclass of the canvas control
and simply respond to the paint event. However the canvas control
seems awfully specialized for something like this, and I would like it
to look cleaner. Besides I've using a canvas and I have reason to
believe that it is causing problems in RB05.
A container control would probably work, but I won't be able to afford
the professional version for some time, and it would hinder portability
for open sourcing.
The only other option I can figure would be to write a plugin, which
I'd rather not.
Other than these three, are there any other options?
Thanks,
- John
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|