Solved

tranparent text control

Posted on 2002-04-04
5
190 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 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