Solved

RichEdit sample that has background image

Posted on 1998-07-31
1
759 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 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