Solved

RichEdit sample that has background image

Posted on 1998-07-31
1
757 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
ID: 1320003
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 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