how to do rubber banding on Vista
I need help with getting rubber band lines to work on Vista.
I've tried using DrawReversibleLine which works on windows XP, but this no longer works on Vista.
I'm tring to draw "preview" lines and boxes, for expanding a graph, which move as the mouse is moved. This is similar to tools used to capture an area of screen, or select a region in the paint program.
Basically, as the mouse moves, the previous line needs to disappear, and a new line is drawn to the new cursor position. In older development tools this was done using XOR plotting, but this is also no longer available.
I've seen a number of frustrating articles on "Why you should not write to the screen" and "how this spoils the graphics pipeline" which leads me to understand how this got broken, but to me it's a critical product feature.
I need to know what .Net methods can be used to create these "rubber band" lines on Vista.
Added note:
This feature works if I use the "windows classic" display, or "Windows standard" or "Windows Vista Basic". It only fails on "windows Aero" color scheme.
Thanks.

