|
From: <Hai...@co...> - 2007-06-15 14:24:52
|
Hello,
I found out that the application has "The pixel format is invalid"
exception that caused byt he following line. As soon as I take it out the
3D chart works fine. Any body has any idea why MdiParent cause the problem?
What should we do if we want to keep the following line?
myResultForm.MdiParent = this;
Thank you,
Haiping
Haiping.Jia@coult
er.com
Sent by: To
csgl-users-bounce csg...@li...
s...@li... cc
ge.net
Subject
[Csgl-users]
06/14/2007 10:35 CsGL.Util.NativeException was
AM unhandled. Message="The pixel
format is invalid.
Hello,
I created a graphic library use CsGL. It works fine in some applications.
But I get the following exeption in one of the applications. Does any body
knows the solution?
CsGL.Util.NativeException was unhandled
Message="The pixel format is invalid.\r\n"
Source="csgl"
ID=2000
StackTrace:
at CsGL.Util.NativeException.Assert() in
C:\projets\csgl_1.x\src\CSharp\CsGL\Util\NativeException.cs:line 68
at CsGL.Util.NativeException.AssertThrow(String msg) in
C:\projets\csgl_1.x\src\CSharp\CsGL\Util\NativeException.cs:line 76
at CsGL.OpenGL.OpenGLContext.GrabContext(IntPtr gdi, IntPtr glctxt)
at CsGL.OpenGL.OpenGLContext.Grab() in
C:\projets\csgl_1.x\src\CSharp\CsGL\OpenGL\OpenGLContext.cs:line 226
at CsGL.OpenGL.OpenGLControl.OnPaint(PaintEventArgs pevent) in
C:\projets\csgl_1.x\src\CSharp\CsGL\OpenGL\OpenGLControl.cs:line 149
at
System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16
layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&
msg)
at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at BeckmanCoulter.Tools.DataGenerator2.Program.Main() in
K:\hjia_algorithms_tools_datagenerator_scr8\ALGORITHMS\Tools\DataGenerator2\Program.cs:line
Thanks for any help.
Haiping
mailgatemia2 made the following
annotations---------------------------------------------------------------------This
message contains information that may be privileged or confidential and is
the property of Beckman Coulter, Inc. It is intended only for the person to
whom it is addressed. If you are not the intended recipient, you are not
authorized to read, print, retain, copy, disseminate, distribute or use
this message or any part thereof. If you receive this message in error,
please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csgl-users mailing list
Csg...@li...
https://lists.sourceforge.net/lists/listinfo/csgl-users
mailgatemia2 made the following annotations---------------------------------------------------------------------This message contains information that may be privileged or confidential and is the property of Beckman Coulter, Inc. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
|