Weird enough, this is ridiculously simple to achieve:
- Add the following code to the the form constructor:
public NonMovableForm() {
InitializeComponent();
this.ShowInTaskbar = false;
this.ControlBox = false;
this.Text = null;
}
- If you really need it, create a fake control imitating a title bar with Close button on it (or not) and dock it to the top of the form.
- Do not implement form dragging. :-)
- Get ready to receive multiple complaints from the users.
- PROFIT? I'm not sure — see the item above.
Anyway, the problem is solved. Decide for yourself if you really want it.
—SA