Dmitriy
Mon Dec 15 05:40:00 CST 2003
I'm afraid not. Some .NET controls expose methods like BeginUpdate() and
EndUpdate(), but there are only a few such controls. To the best of my
knowledge, forms themselves do not expose such methods.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Konrad" <konrad007@poczta.onet.pl> wrote in message
news:brk4nk$nm8$1@nemesis.news.tpi.pl...
> But using .NET commands is it possible?
>
> "Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com> wrote
> in message news:OlnnqovwDHA.1760@TK2MSFTNGP10.phx.gbl...
> > Hi,
> >
> > There's LockWindowUpdate API call that could do the job. You can also
try
> > sending the WM_SETREDRAW message to the form window to prevent it from
> being
> > redrawn.
> >
> > --
> > Dmitriy Lapshin [C# / .NET MVP]
> > X-Unity Test Studio
> >
http://x-unity.miik.com.ua/teststudio.aspx
> > Bring the power of unit testing to VS .NET IDE
> >
> > "Konrad" <konrad007@poczta.onet.pl> wrote in message
> > news:brk3cl$6a1$1@atlantis.news.tpi.pl...
> > > Hi
> > >
> > > How to prevent Windows Form
> > > from being refreshed?
> > >
> > > Thanks
> > > Konrad
> > >
> > >
> >
>
>