A generic error occurred in GDI+.

G

Guest

Hello,

I need some advice on what a generic error is and how to debug it...
Any ideas?

System.Runtime.InteropServices.ExternalException: A generic error occurred
in GDI+.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y,
Int32 width, Int32 height)
at ListViewFilter.ListViewFilter.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

Thanks,

John Hoffman
 
N

Nicholas Paldino [.NET/C# MVP]

John,

Without seeing what you were doing, it's pretty difficult to pin it
down. Can you give a code sample, or a complete project that duplicates the
problem on a consistent basis?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top