Solved

RichEdit sample that has background image

Posted on 1998-07-31
1
752 Views
Last Modified: 2013-11-19
I want to find a cool richedit control sample that has
background bitmap image.
Thanks.
0
Comment
Question by:hwpark71
1 Comment
 
LVL 8

Accepted Solution

by:
Answers2000 earned 70 total points
Comment Utility
There isn't one, because the control doesn't do that AFAIK.

You can simulate the appearance by having a normal RichEdit control, capturing it into a bitmap and then doing a color bitblt of the background onto your image, then the bitmap on top of that.

There's code to do a transparent BitBlt about pp813 (chapter 12) of Programming Windows 95 with MFC, by Jeff Prosise, Microsoft Press 1996, ISBN 1-55615-902-1

If you hide the real RichEdit and put the caret (the flashing vertical line) ontop of the bitmap, you can make it look like a real one.

Please note the background won't scroll automatically, you'll have to handle that yourself (if you want it to scroll)
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
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.

772 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

8 Experts available now in Live!

Get 1:1 Help Now