Seth
Tue Jan 16 20:07:21 CST 2007
Nothing too exciting:
[System.Security.Permissions.PermissionSet(
System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust" )]
public class PadDesigner : System.Windows.Forms.Design.ControlDesigner
{
protected override void OnMouseDragMove( int x, int y )
{
System.Diagnostics.Trace.WriteLine( string.Format( "{0}, {1}", x, y ) );
base.OnMouseDragMove( x, y );
}
}
"Bryan Phillips" <bphillips@nospam.spamcop.net.spammenot> wrote in message
news:ezRl$cdOHHA.2232@TK2MSFTNGP02.phx.gbl...
> That is the correct method. Can you post some sample code?
>
> --
> Bryan Phillips
> MCSD, MCDBA, MCSE
> Blog:
http://bphillips76.spaces.live.com
>
>
>
> "Seth" <a@b.com> wrote in message
> news:1a6dnUIEk9y_gDDYnZ2dnUVZ_sSmnZ2d@speakeasy.net:
>
>> I am playing with overriding the ControlDesigner OnMouseDragMove. But
>> for
>> some reason it only appears to get called when a control just begins its
>> drag. I was anticipating it to be called for every movement of the mouse
>> during the drag. Am I missing something so that this method is only
>> called
>> once? Is there another method I should be using that will be called for
>> each movement of the mouse?
>