On 2/18/07 4:06 PM, "Chris Little" <[EMAIL PROTECTED]> wrote:
> This is the expected behaviour. If you're a transparent control and want to > erase yourself you should be invalidating the control and letting all of the > controls underneath you redraw. If does mean that you need some kind of flag > in your control that you can check in your Paint event to control whether or > not you draw. Could you provide a code example here of how to implement this? I'm struggling with the same thing. My solution right now, although it's not the best, is to have the control figure out what is behind it and use that as a backdrop property which is drawn in each paint event. Sincerely, Scott -- SearchWare Solutions Simply Great Software http://www.searchwaresolutions.com Webthoughts: http://www.searchwaresolutions.com/other/weblog/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
