Solved

Transparent richedit Window

Posted on 1998-04-09
1
517 Views
Last Modified: 2013-11-20
I want to create a window which will be transparent so that whatever is at the background will remain.I am creating a richedit control in the foreground inside a view, I want the bitmap displayed in the view to remain as I output text in the richedit control. Please Help..
0
Comment
Question by:ANR
1 Comment
 
LVL 11

Accepted Solution

by:
mikeblas earned 0 total points
ID: 1317575
As is, you can't. MFC uses RichEdit 1.0, which doesn't pay attention to WS_EX_TRANSPARENT and paints its own background in response to WM_PAINT instead of using WM_ERASEBKGND.

If you want, you can force MFC to use RichEdit 2.0 or RichEdit 3.0. Then, the WS_EX_TRANSPARENT style will work--or, you can override WM_ERASEBKGND.

The SDK has tons of documentation on the updated rich edit control window classes.

.B ekiM


0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
only14 challenge 19 76
no14 challenge 14 69
Execute multiple curl cmds with sleep and send output to file 10 97
wordcount challenge 11 121
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

810 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