Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding 'modified' tooltip
Message
From
22/09/2005 07:49:14
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01051669
Message ID:
01051901
Views:
6
Hi,

>
Thats correct, however you can paint to a context without invalidating a region. Consider this, you have a hot tracking effect in your client area - you want the fastest mechanism for updating a tiny portion of the display avoiding overdraw, flickering etc. Do you invalidate a region and give windows its dirty rectangle (slow) or do you draw the effect directly to the controls display context (quick) and pay the price of not supporting standard behaviour by re-creating the tooltip (or any potential window of this class)?
>

So you're suggesting drawing to the 'lower' device context and then re-creating the tooltip (or any potential window of this class)? I'd be surprised if that was faster than invalidating it. Also it seems like dangerous behaviour in the sandbox - how do you know that other windows won't be written onto by your draw?

Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform