Solved

richedit resize bug

Posted on 1997-03-24
2
390 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month6 days, 1 hour left to enroll

626 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