Is there anyway to create similar behaviour to BeginUpdate and EndUpdate in
a richtextbox control? I've seen a few work arounds on the net but they use
unmanaged code.

Any help would be appreciated,

Chris

Re: Richtextbox control question by Herfried

Herfried
Wed Feb 01 06:10:44 CST 2006

"Chris" <misterjingo@gmail.com> schrieb:
> Is there anyway to create similar behaviour to BeginUpdate and EndUpdate
> in a richtextbox control? I've seen a few work arounds on the net but they
> use unmanaged code.

I think that unmanaged code ('SendMessage' + 'WM_SETREDRAW') is the way to
go.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Re: Richtextbox control question by Chris

Chris
Wed Feb 01 06:41:10 CST 2006

I'll have to try it that way then. I figured referencing windows dlls would
stop any possible crossplatform distribution?

Chris

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:eOykIiyJGHA.3260@TK2MSFTNGP11.phx.gbl...
> "Chris" <misterjingo@gmail.com> schrieb:
>> Is there anyway to create similar behaviour to BeginUpdate and EndUpdate
>> in a richtextbox control? I've seen a few work arounds on the net but
>> they use unmanaged code.
>
> I think that unmanaged code ('SendMessage' + 'WM_SETREDRAW') is the way to
> go.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>



Re: Richtextbox control question by Herfried

Herfried
Wed Feb 01 10:19:44 CST 2006

"Chris" <misterjingo@gmail.com> schrieb:
> I'll have to try it that way then. I figured referencing windows dlls
> would stop any possible crossplatform distribution?

It would, but currently other operating systems than Windows do not fully
support Windows Forms at all...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Re: Richtextbox control question by Chris

Chris
Wed Feb 01 14:12:39 CST 2006


"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:eHReRt0JGHA.1388@TK2MSFTNGP11.phx.gbl...
> "Chris" <misterjingo@gmail.com> schrieb:
>> I'll have to try it that way then. I figured referencing windows dlls
>> would stop any possible crossplatform distribution?
>
> It would, but currently other operating systems than Windows do not fully
> support Windows Forms at all...
>

That's true. Perhaps I was being overoptimistic :) Would such a fix work
with all versions of windows or only xp etc?

Chris



Re: Richtextbox control question by Herfried

Herfried
Wed Feb 01 16:27:33 CST 2006

"Chris" <misterjingo@gmail.com> schrieb:
>>> I'll have to try it that way then. I figured referencing windows dlls
>>> would stop any possible crossplatform distribution?
>>
>> It would, but currently other operating systems than Windows do not fully
>> support Windows Forms at all...
>
> That's true. Perhaps I was being overoptimistic :) Would such a fix work
> with all versions of windows or only xp etc?

I assume it should work with all Windows versions supported by the .NET
Framework.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Re: Richtextbox control question by Chris

Chris
Wed Feb 01 17:52:42 CST 2006

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23oOv163JGHA.1832@TK2MSFTNGP11.phx.gbl...
> "Chris" <misterjingo@gmail.com> schrieb:
>>>> I'll have to try it that way then. I figured referencing windows dlls
>>>> would stop any possible crossplatform distribution?
>>>
>>> It would, but currently other operating systems than Windows do not
>>> fully support Windows Forms at all...
>>
>> That's true. Perhaps I was being overoptimistic :) Would such a fix work
>> with all versions of windows or only xp etc?
>
> I assume it should work with all Windows versions supported by the .NET
> Framework.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>

Thanks for all the help :).

Chris