We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

exception when dragging a DockingManager panel

Thread ID:

Created:

Updated:

Platform:

Replies:

56648 Feb 18,2007 03:15 AM Apr 20,2007 03:58 AM Windows Forms 3
loading
Tags: Tools
Ryan Hardoon
Asked On February 18, 2007 03:15 AM

I get a reoccuring exception whenever I start dragging any of the docking panels.

Here are the details, hoping someone here has confronted the problem successfully.


thanks in advance.



=================================================
=================================================


System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="Syncfusion.Tools.Windows"
StackTrace:
at Syncfusion.Windows.Forms.Tools.Renderers.DockingManagerRenderer.PaintDockedControl(Graphics g, Rectangle rectangle, PaintDockControlArgs args)
at Syncfusion.Windows.Forms.Tools.FloatingForm.PaintNCArea()
at Syncfusion.Windows.Forms.Tools.FloatingForm..ctor(DockingManager dmgr)
at Syncfusion.Windows.Forms.Tools.DockingManager.CreateFloatingForm()
at Syncfusion.Windows.Forms.Tools.DockHostController.SelectActivationForm(Boolean& restored)
at Syncfusion.Windows.Forms.Tools.DockHostController.CreateFloatingFrame(Point ptlocation, Boolean show)
at Syncfusion.Windows.Forms.Tools.DockHostController.TransitDockToFloat()
at Syncfusion.Windows.Forms.Tools.DockHostController.ApplyDockInfo()
at Syncfusion.Windows.Forms.Tools.WhidbeyDragProvider.ProcessMouseMove(DockControllerBase controller, IDraggable ctrl, Point ptscreen)
at Syncfusion.Windows.Forms.Tools.DockHostController.HandleMouseMoveImp(MouseButtons button, Point pt)
at Syncfusion.Windows.Forms.Tools.DockHost.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at Syncfusion.Windows.Forms.Tools.DockHost.WndProc(Message& msg)
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 DockingTest.Program.Main() in C:\Documents and Settings\Administrator\Desktop\DockingTest\DockingTest\Program.cs:line 17
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Golda Rebecal [Syncfusion]
Replied On February 19, 2007 09:36 AM

Hi Ryan,

I am afraid that I am not able to reproduce the issue you have mentioned. I created a sample to reproduce the issue and I found it working fine. Herewith I have attached the sample.

Docking

Please try running the above sample. If still the issue exists, kindly try reproducing it with this sample and send it back to me so that it would help me to find out the cause of the issue.

Thanks for your interest in Syncfusion products

Best Regards,
Golda

Vikram Bhavsar
Replied On April 19, 2007 10:35 AM

I am seeing this exception as well. I have found another post with a user seeing the same problem (with an example of how to reproduce it):

http://www.syncfusion.com/support/forums/message.aspx?&MessageID=59646

Once of the messages of te exception is:
Syncfusion.Windows.Forms.Tools.WhidbeyDragProvider.GetMainFormController(Point ptscreen)

Has anyone else seen this, or found a fix/workaround for it?

Vik

Poly J [Syncfusion]
Replied On April 20, 2007 03:58 AM

Hi Vik,

Thanks for your interest in Syncfusion Products.

Could you please let me know the Essential Studio Version you are using. Exception when dragging Docking window is reported in Version 4.2.0.37 and this issue is fixed in the next version.

Best Regards,
Poly


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;