Solved

tranparent text control

Posted on 2002-04-04
5
189 Views
Last Modified: 2013-11-20
how to make the static text control transparent?
0
Comment
Question by:mimd
[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
5 Comments
 
LVL 4

Accepted Solution

by:
mblat earned 25 total points
ID: 6919949
there is an example of owner draw static control, that includes a lot of stuff.
I believe transparency is there also.

http://codeproject.com/staticctrl/clabel.asp


hope it helps
0
 
LVL 1

Expert Comment

by:kirthir
ID: 6919973
The properties of Static control had that feature.

Check it in Extended styles, you will find a check box for "Transparent"

0
 
LVL 23

Assisted Solution

by:Roshan Davis
Roshan Davis earned 25 total points
ID: 6920515
Get the background dc of the parent.
Map OnErasebackground of the CEdit derived class,
BitBlt there with the background dc.

THis is the only way to support transparency...

GOOD LUCK
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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…
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.

738 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