|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Alastair Watts
|
Nov 25, 2011 - 12:13 AM
|
How do I prevent cells being dragged from a grid and dropped into the recycle bin?
|
|
Alastair Watts
|
Dec 14, 2011 - 12:44 PM
|
I’m not sure I fully understand what your saying. All I want to do is to stop cells being deleted from the grid when a user drops them into the recycle bin, is this possible?
|
|
Alastair Watts
|
Dec 12, 2011 - 6:44 AM
|
Do you have a sample showing how to prevent CExtGridWnd drag and drop from deleting cells into the recycle bin?
|
|
Technical Support
|
Dec 14, 2011 - 11:24 AM
|
We tried to prevent drag-n-dropping into Recycle Bin and we can detect the drop event into it, but we cannot detect drag-enter/drag-over events. I.e. we cannot find a way to detect when drag-n-droped content is not dropped yet but the mouse cursor is already over Recycle Bin’s icon.
|
|
Alastair Watts
|
Nov 29, 2011 - 4:17 AM
|
’.. & this seems to work’ ... just to clarify I still can’t stop a user from dragging cells to the recycle bin!
|
|
Alastair Watts
|
Nov 29, 2011 - 4:09 AM
|
I call CExtGrid::AdvModifyStyle(_EGWS_ADV_ENABLE_DATA_DND_DRAG, 0, false) to enable grid drag. I’ve implemented COleDropTarget in another control & this seems to work. The methods you mention are not called, what could be wrong?
|
|
Technical Support
|
Nov 28, 2011 - 1:45 PM
|
|
|