vb.netformsappearancefixed-widthstatusstrip

How to remove the 'resize triangle' from StatusStrip in VB.NET


I have a Form with a StatusStrip component docked at the bottom. The form has fixed width and is not resizable. However the StatusStrip has a little 'resize triangle' at the right (6 little dots).

This gives the impression that the window is resizable. How can I remove it?


Solution

  • Set the SizeGripStyle to Hide in the designer or programatically with:

    yourForm.SizeGripStyle = Windows.Forms.SizeGripStyle.Hide
    

    Edit: Maybe it's the same as mentioned here