Home - Forums-.NET - FlyGrid.Net (Windows Forms) - On OnMouseMove (drag'n'drop) crashes

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

On OnMouseMove (drag'n'drop) crashes
Link Posted: 20-Apr-2006 04:57
When I try to drag node it crashes with log:

  system.windows.forms.dll!System.Windows.Forms.DataObject.DataStore.SetData(System.Object data = ) + 0x47 bytes  
  system.windows.forms.dll!System.Windows.Forms.DataObject.SetData(System.Object data = ) + 0x1b bytes  
  ninerays.flygrid.dll!NineRays.Windows.Forms.FlyGrid.OnMouseMove(System.Windows.Forms.MouseEventArgs me = {X=130 Y=31 Button=Left}) + 0x118e bytes  
  system.windows.forms.dll!System.Windows.Forms.Control.WmMouseMove(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0xaa bytes  
  system.windows.forms.dll!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x634 bytes  
  ninerays.flygrid.dll!NineRays.Windows.Forms.FlyGrid.WndProc(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x2c7 bytes  
  system.windows.forms.dll!ControlNativeWindow.OnMessage(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x13 bytes  
  system.windows.forms.dll!ControlNativeWindow.WndProc(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0xda bytes  
  system.windows.forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(int hWnd = 3606026, int msg = 512, int wparam = 1, int lparam = 2031746) + 0x3d bytes  
  system.windows.forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(int dwComponentID = 2, int reason = -1, int pvLoopData = 0) + 0x349 bytes  
  system.windows.forms.dll!ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x1f3 bytes  
  system.windows.forms.dll!ThreadContext.RunMessageLoop(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x50 bytes  
  system.windows.forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm = {FlyGridDemo.checkl.Checklist}) + 0x34 bytes  
>  CheckList.exe!FlyGridDemo.checkl.Checklist.Main() Line 20 + 0x1d bytes  Basic


Drag'ndrop worked until I began use of VirtualNodes (d'n'd related func's wasn't changed). Where bug can be?

P.S. Turning \"Allow drop\" to false has no effect
Link Posted: 20-Apr-2006 22:49
Problem was in Flygrid.Rows.Moveable property , whe I have turned i off system not crashes, but now I dont know how to implement drag'n'drop without moveable?

may code was:
Me.todoList.Rows.Options = CType((NineRays.Windows.Forms.Data.RowsOptions.Moveable Or NineRays.Windows.Forms.Data.RowsOptions.Default), NineRays.Windows.Forms.Data.RowsOptions)
Link Posted: 23-Apr-2006 10:29
Thanks for the report, this problem is solved, fixed version will available April 25-26.
Link Posted: 25-Apr-2006 03:25
I tryed version 1.4.0 - same problem!
Maybe way to make nodes moveable (code above) is wrong?