Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How Can I make a transparent tree control on the desktop? tree control must not be on any window and it should not have any edges!

I use MFC (MS Visual Studio 6.0). "must not be on any window" means that tree control should be directly on the desktop (or above all applications on desktop) but under the tree control should not be any other window from the same application. Am I clear?

thanks!
Posted
Updated 26-Dec-09 10:27am
v3

You can't. Your best bet as far as I can see, is to create a transparent window to host your tree control. You can't just make it appear without a host window.
 
Share this answer
 
Thank you!

Could you provide me e piece of code which creates a tree control (or CTreeView document) with (for example) 50% transparency? The most important thing is that this window should not have any edges (i.e. no lines around, no title bar), and there should be a small "+" to close the application.

Thanks one more time!
 
Share this answer
 
You probably need to use 'skinning' to replace the normal main window frame with a bitmap of your own choice. This site[^] has some good tutorials on the procedures.
 
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