Is there a way to XOR (invert) colors when lines of different colors overlay each other In VB6 I was able to help myself using the Shape control and set the DrawMode property to "XOR Pen". How to accomplish this in VB2005 Thanks!
The .Net IDE must not use GDI+ because it XOR-draws its slider bars (when you slide them). We have a very graphic rich application whose next release we wanted to write in VB2005. I need to be able to XOR any of the overlaying graphics. Another thing that can't be done in .Net This used to be so easy to do in VB6.
How to you pinvoke GDI calls Does anyone have any links to an example
System.Drawing - XOR?
jhobitz
GDI+ does not support this. Your best bet is to pinvoke GDI calls to do this drawing.
pinkpanter
The .Net IDE must not use GDI+ because it XOR-draws its slider bars (when you slide them). We have a very graphic rich application whose next release we wanted to write in VB2005. I need to be able to XOR any of the overlaying graphics. Another thing that can't be done in .Net This used to be so easy to do in VB6.
How to you pinvoke GDI calls Does anyone have any links to an example
s_karthik_au
The IDE is almost certainly written in c++, which means that GDI+ and GDI can be used together.
www.pinvoke.net contains lots of info on how to use pinvoke to call the old C APIs.