Richtextbox control question

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

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
 
Chris said:
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.
 
I'll have to try it that way then. I figured referencing windows dlls would
stop any possible crossplatform distribution?

Chris
 
Chris said:
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...
 
Herfried K. Wagner said:
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
 
Chris said:
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.
 
Back
Top