Solved

richedit resize bug

Posted on 1997-03-24
2
378 Views
Last Modified: 2013-11-22
I have a MDI application with MDIchild form that has two richedit controls. On my machine it works fine but the same program on another machine behaves strange. If i minimize the child and then maximize it again all text in the richedit controls are invisible. But I can still copy text. And if I manually resize the form the text gets visible.
So my question is - Is there a cure for this, or can I do something to catch this and make sure the problem does not show.
johan.lindgren@tt.se
0
Comment
Question by:jolla
2 Comments
 
LVL 3

Expert Comment

by:sperling
ID: 1334938
Hmmm.... You could try RichEdit1.Invalidate when the form is restored... Might help.


Regards,

Erik.
0
 
LVL 2

Accepted Solution

by:
javiertb earned 100 total points
ID: 1334939
When you resize the richedit, parent control have to send a EM_SETEDITRECT message to redefine the editing area. I recommend you to take a look at the RichEdit demo that comes with Delphi 2.

Hope this help
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now