RE: WinForm Resize
- From: "Diogo Alves - Software Developer" <DiogoAlvesSoftwareDeveloper@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Aug 2005 01:00:02 -0700
Sorry it didnt work I had already did that.... Guess I'm really stuck with
this issue
Anyone else has any Ideia?
"Mark R. Dawson" wrote:
> Hi Diogo,
> I do not know how to do the rubber band effect you want, but try to use
> dowuble buffering on your form and see if it offers any improvement of the
> visual redraw when you resize the form.
>
> You can use double buffering by adding the following to your form
> constructor, after the call to InitializeComponents:
>
> this.SetStyle(ControlStyles.DoubleBuffer | ControlStyles.UserPaint |
> ControlStyles.AllPaintingInWmPaint, true);
> this.UpdateStyles();
>
> Hope that helps
> Mark R. Dawson
>
> "Diogo Alves - Software Developer" wrote:
>
> > Hi, I have a really heavy view, it load a lot of objects, and I it most be
> > sizable.
> >
> > When I resize de window by dragging it's border it is very slow to rearrange
> > the objects in order to be all in the right place.
> >
> > I would like to know if it's possible to make a solution like we drag the
> > border, but in spite of the window move along the mouse, it would appear a
> > kind-of-rubberband and when I release that rubberband the window do the
> > resize to that position...
> >
> > I'm sorry for my bad english I hope that you have understood what I wanted...
> >
> > some code snippets would be usefull
> >
> > Thanks a Lot
.
- References:
- WinForm Resize
- From: Diogo Alves - Software Developer
- RE: WinForm Resize
- From: Mark R. Dawson
- WinForm Resize
- Prev by Date: Re: How to check a string
- Next by Date: Re: news group for c# 2.0
- Previous by thread: RE: WinForm Resize
- Next by thread: modules not loading
- Index(es):
Relevant Pages
|