I need a canvas to draw itself differently when its parent window is
deactivated than when it is active. Since the canvas doesn't get
activate/deactivate events, the obvious way to do it was by having
the window set a property that the canvas checked when it redrew.
That worked pretty well, but now I want to subclass the canvas and
make it independent of a specific window class. Now how can I let the
canvas know about activate/deactivate? Any suggestions?
Ideally, I'd like all controls to receive the activate/deactivate
event when the window does, or for the window class itself to have a
boolean property "Active" that could be checked by controls. But
these are feature requests to log if I can't find some simple
solution in RB5.5.
thanks,
Bob
_______________________________________________
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>
|