Fatal error after opening the scheduler window
Posted: 23 Jan 2014 11:27
Hi Bernd,
Sometimes, I've got a problem when I open the scheduler window.
The message:
« 18/01/2014 10:41:56 [v3.0.12.10]:********** Error/Exception Information **********
Error Message: Parameter is not valid.
Error Type: System.ArgumentException
Error Source: System.Drawing.IntPtr GetHdc()
********** System Stack Trace **********
at System.Drawing.Graphics.GetHdc()
at System.Windows.Forms.Control.DrawToBitmap(Bitmap bitmap, Rectangle targetBounds)
at DevExpress.XtraScheduler.SchedulerControl.CreateControlBitmap(Bitmap bmp)
at DevExpress.XtraScheduler.Animation.Internal.LastPaintInfo.CreateOrReuseBitmap(SchedulerControl control)
at DevExpress.XtraScheduler.Animation.Internal.LastPaintInfo.ObtainCurrentAnimationInfo(SchedulerControl control)
at DevExpress.XtraScheduler.Animation.Internal.SchedulerAnimationManager.Paint(PaintEventArgs e)
at DevExpress.XtraScheduler.SchedulerControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraScheduler.SchedulerControl.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
********** End ********* »
Thank you.
Amaury
Sometimes, I've got a problem when I open the scheduler window.
The message:
« 18/01/2014 10:41:56 [v3.0.12.10]:********** Error/Exception Information **********
Error Message: Parameter is not valid.
Error Type: System.ArgumentException
Error Source: System.Drawing.IntPtr GetHdc()
********** System Stack Trace **********
at System.Drawing.Graphics.GetHdc()
at System.Windows.Forms.Control.DrawToBitmap(Bitmap bitmap, Rectangle targetBounds)
at DevExpress.XtraScheduler.SchedulerControl.CreateControlBitmap(Bitmap bmp)
at DevExpress.XtraScheduler.Animation.Internal.LastPaintInfo.CreateOrReuseBitmap(SchedulerControl control)
at DevExpress.XtraScheduler.Animation.Internal.LastPaintInfo.ObtainCurrentAnimationInfo(SchedulerControl control)
at DevExpress.XtraScheduler.Animation.Internal.SchedulerAnimationManager.Paint(PaintEventArgs e)
at DevExpress.XtraScheduler.SchedulerControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraScheduler.SchedulerControl.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
********** End ********* »
Thank you.
Amaury