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.

Dragging column

Thread ID:

Created:

Updated:

Platform:

Replies:

28149 Apr 25,2005 04:11 PM May 17,2005 10:39 AM Windows Forms 6
loading
Tags: GridControl
Stephane SansCartier
Asked On April 25, 2005 04:11 PM

When dragging a column or when using DragHelper programaticaly. The icon (black ‘I’) appear on top of everything, it will be drawned on top of a window (ex: task manager). Is there a way to fix this ? I’ve attached a zip file containing a picture that shows an example. syncfusion_grid_drag_bug_8032.zip

Administrator [Syncfusion]
Replied On April 25, 2005 09:26 PM

Do you see this in our default moving columns support, or only where you have tried to add some custom drag and drop support? If you see it in our standard support, and can tell us how to see it in one of our samples, or if you can upload a sample showing the probelm we can try to debug it. If you see this problem in your customized code, then would have to debug into your code and see why this is happening. If you are using OLE D&D, then are you turning off showing this bitmap when you are getting a NODROP feedback (ie, over a window that does not accept this drop)?

Stephane SansCartier
Replied On April 26, 2005 09:21 AM

I see this in the default GridControl with nothing added. I attached an example. Open the program and put the Task Manager (or any other window that stay on top) and put it on top of half (verticaly) of the column header and drag a column. I''m using Runtime Version: v1.0.3705 Version: 3.0.1.0 .NET Framework: 1.1 OS: Windows XP DragIcon_5210.zip

Stephane SansCartier
Replied On April 28, 2005 03:08 PM

Don’t want to push but is this issue being looked at?

Stephane SansCartier
Replied On May 13, 2005 01:05 PM

Any new development on this issue?

Administrator [Syncfusion]
Replied On May 16, 2005 10:43 AM

Stephane, the technique we use for showing these temporary markers is to show a top-level window with transparency effect. Whenever you create such a new top-level window it will always be placed in the z-order before existing top-level windows. That''s why you see the marker window be drawn over existing top-level window (e.g. TaskManager) I don''t think there is much you can do to avoid this using a top-level window approach like we use in all our MouseControllers. However, one option to avoid this would be to replace the existing MouseController for dragging columns with an alternate MouseController in which you handle outlining the target column differently, e.g. instead of showing a marker you could redraw the target column header in a different color. If that is something you would be interested in doing I can create a sample how to replace the MouseController with your own version. You could then modify the alternate MouseController code and implement your own highlighting technique. Stefan

Stephane SansCartier
Replied On May 17, 2005 10:39 AM

Thank for the response. I will stay with the current column dragging effect.

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.

;