Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Transparent richedit Window

Posted on 1998-04-09
1
Medium Priority
?
585 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
[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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

618 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