S
Seth
(I had posted this over on
microsoft.public.dotnet.framework.windowsforms.designtime but it didn't see
any action, so we'll try microsoft.public.dotnet.framework.windowsforms now)
I have a custom Control that uses a custom Designer that inherits from
DocumentDesigner. The designer is specified using the DesignerAttribute on
the custom Control. On this control, I would like to prevent controls from
being dragged off of the surface. Unfortunately, there is no
OnQueryContinueDrag with which I can use to cancel the drag operation once
the control hits the edge of the surface. Does anyone have any advice on
how I might be able to accomplish this goal? Is it even possible to prevent
a control from being dragged off the parent's surface?
microsoft.public.dotnet.framework.windowsforms.designtime but it didn't see
any action, so we'll try microsoft.public.dotnet.framework.windowsforms now)
I have a custom Control that uses a custom Designer that inherits from
DocumentDesigner. The designer is specified using the DesignerAttribute on
the custom Control. On this control, I would like to prevent controls from
being dragged off of the surface. Unfortunately, there is no
OnQueryContinueDrag with which I can use to cancel the drag operation once
the control hits the edge of the surface. Does anyone have any advice on
how I might be able to accomplish this goal? Is it even possible to prevent
a control from being dragged off the parent's surface?