Search code examples
c#scrollstatusbarmenubar

Locking menubar and statusbar as "always on top"


I have a windows form that includes one menubar at the top and one statusbar at the bottom. The window is scrollable, but when I scroll it lets say down, the menubar stays up so that I cant see it anymore, the same happens with the statusbar if i scroll up. Is there any way to make them visible at all times, like that they scroll with the screen, or as always on top?


Solution

  • For creating a scrollable content, do this procedure :

    1. Add a new window
    2. Add MenuStrip and StatusStrip
    3. Add Panel , set AutoScroll to true , Dock to Fill
    4. Append all controls to panel.