?
Solved

tranparent text control

Posted on 2002-04-04
5
Medium Priority
?
195 Views
Last Modified: 2013-11-20
how to make the static text control transparent?
0
Comment
Question by:mimd
3 Comments
 
LVL 4

Accepted Solution

by:
mblat earned 100 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 100 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month15 days, 15 hours left to enroll

850 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