P
Phil Da Lick!
Hi,
Because GDI+ doesnt support inversion of rectangles on a graphics device
(!!!) I'm attempting to call InvertRect() on the api direct from my c#
project.
In the file in questions, directly after the using directives and before
the class/namespace bit I've got (found this on the web):
[DllImport("user32.dll")]
[return:MarshalAs(UnmanagedType.Bool)]
public static bool InvertRect(IntPtr hDC, rf System.Drawing.Rectangle lprc);
The bool on the last line is generating the error. I'm using VS pro 2003.
Help!!
Because GDI+ doesnt support inversion of rectangles on a graphics device
(!!!) I'm attempting to call InvertRect() on the api direct from my c#
project.
In the file in questions, directly after the using directives and before
the class/namespace bit I've got (found this on the web):
[DllImport("user32.dll")]
[return:MarshalAs(UnmanagedType.Bool)]
public static bool InvertRect(IntPtr hDC, rf System.Drawing.Rectangle lprc);
The bool on the last line is generating the error. I'm using VS pro 2003.
Help!!