Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding 'modified' tooltip
Message
From
23/09/2005 04:42:39
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01051669
Message ID:
01052301
Views:
10
Hi,

>
So if you had a design surface that you wanted to draw a XOR'ed selection marquee then you don't feel that getting the display context from the MouseMove event and drawing to it is acceptable practice?
>

I wasn't concerned with how a DC is obtained, or when and what you choose to write to it. But if there is another window that is supposed to be 'on top' and it impinges on the area in which you are drawing it will be messed up. The issue was how you then correct this. AFAICS there are two options: invalidate it so that it repaints itself or handle it yourself. It seemed to me you were advocating a rather extreme version of the latter - i.e. re-creating it. For a tooltip this might be possible but, surely, slow; for most windows not an option.

Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform