well, the problem is that my main form is a scrollable control. and i can put it in the container. besides, how is possible to let the container take the size of the main form if someone resize the mainform ?
test123450
Posts
-
how to fix a menustrip ? -
how to fix a menustrip ?Hi ! I'm using Visual Studio 2005 Professional Edition and C#. I have a simple question: I want to add to my form, which is a scrollable control, a menustrip and statusstrip. The problem is that the menustrip is not fixed at top if i scroll down. A similar problem exists also for the statusstrip. If i open the program it is only visible if i scroll down. The program thinks that the menustrip and the statusstrip are in the Client region, to which i want to draw something. So, how can I fix them, so that they are not get lost if i scroll the main form up or down ? -- Schwammkopf PS: The AutoScrollMinSize is set to (ClientSize.Width + 50, ClientSize.Height + 50). Of course, on each OnPaint i update it.
-
how to fix a menustrip ?Hi ! I'm using Visual Studio 2005 Professional Edition and C#. I have a simple question: I want to add to my form, which is a scrollable control, a menustrip and statusstrip. The problem is that the menustrip is not fixed at top if i scroll down. A similar problem exists also for the statusstrip. If i open the program it is only visible if i scroll down. The program thinks that the menustrip and the statusstrip are in the Client region, to which i want to draw something. So, how can I fix them, so that they are not get lost if i scroll the main form up or down ? -- Schwammkopf PS: The AutoScrollMinSize is set to (ClientSize.Width + 50, ClientSize.Height + 50). Of course, on each OnPaint i update it.