Solved

tranparent text control

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

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

837 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