How can I hide minimize and maximize (but not the close) buttons on form without hide the form's title and icon too? I want to a MessageBox
like style.
I've tried and failed with:
FormBorderStyle
set as FixedToolWindow
does the job let only the close button but does hide the form's Text
and Icon
.
ControlBox
-> Hide not only minimize and maximize but close and title too.
Just set the MaximizeBox
and MinimizeBox
properties to false.