splitter control and scrolling panels

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi,
I would like to reproduce the same control as in Visual Studio for the
propery editor or the message feedback window. That is, a scrolling
panel that would appear when the mouse is over one of the side of the
main form. There should be the possibility to anchor it as well. How
can I do that ?

Thx
 
Sam said:
I would like to reproduce the same control as in Visual Studio for the
propery editor or the message feedback window. That is, a scrolling
panel that would appear when the mouse is over one of the side of the
main form. There should be the possibility to anchor it as well.

You'll either have to implement the behavior yourself or use a 3rd-party
library which provides auto-hide windows. The .NET Framework doesn't
include a predefined control.
 
Herfried,
Thank you.
do you know if VS 2005 beta 2 provides such a control ?
 
here's something you might try. you have your main form, create another
form that has the controls that you want to scroll. turn off the borders and
captions. then set the parent of this sub form to the panel that gets
adjusted via the splitter. (i did something like this, but the i wasn't
doing any scrolling of the subform so i don't know if this will really
work.)

you will need to set a property in code on the sub form to allow this...
subform.TopLevel = False
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top