Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

RichEdit sample that has background image

Posted on 1998-07-31
1
Medium Priority
?
766 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
[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
1 Comment
 
LVL 8

Accepted Solution

by:
Answers2000 earned 140 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

670 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