By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,312 Members | 1,877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,312 IT Pros & Developers. It's quick & easy.

how to fix menustrip

P: n/a
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.

Feb 12 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Have you tried putting your scrollable control on a panel with the
menustrip and statusstrip not on the same panel?

Schwammkopf wrote:
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 ?
Feb 16 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.