0

Possible Duplicate:
How to set Windows Forms Application (C++) to have an Aero/Glass background?

i want create a transparent window with WinApis with C++ in Windows 7 and i use VS2010 but i know how to make it transparent i can do that like this:

    SetWindowLong(hWnd, GWL_EXSTYLE,GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_LAYERED);
    SetLayeredWindowAttributes(hWnd, 0, (255 * 70) / 100, LWA_ALPHA);

but i want a transparent window with transparency of title bars of normal windows of windows 7

sample http://ril.site11.com/photos/879ec4dfeaa4.png

Community
  • 1
  • 1
infinity
  • 71
  • 2
  • 9

1 Answers1

0

This web page has a great tutorial: http://www.codeproject.com/Articles/15770/Vista-Goodies-in-C-Using-Glass-in-Your-UI

It show you how to make a certain portion of you windows transparent, how to add text to the transparent part, and more.

rubenvb
  • 74,642
  • 33
  • 187
  • 332