Click here to Skip to main content
15,922,696 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What static control style do I need to specify in order to create a static control with transparent background?

Previous experience has shown me that static control created at run time usually have a background colour that is identical to a dialogue box default background color.But since I want to use this static control as label for a combobox embedded in a toolbar, I dont want this default background color.How do I make the background tranparent.


If this is not possible, is it possible for me to get a device context for a toolbar?

If that is not possible, how do I achieve my aim?
Posted
Updated 12-Feb-14 6:30am
v4
Comments
Gbenbam 12-Feb-14 12:24pm    
I have read through docementation and have googled but have not found a solition.

1 solution

Here's an answer from Raymond Chen: Why isn't my transparent static control transparent?[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900