How to prevent a form from moving ?

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi,

I would like that my form which inherits from Form (which has
this.ControlBox = false;
this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
) would not allow moving.
I have try to override OnMove, but I do not achieve my aim, I guess it
just do not call the associate delegate.
I could set FormBorderStyle to None, but I really prefer that my forms
get a caption.

Any help is welcome

thank you
 
Back
Top