13

As you can see, Y! messenger 11 have used some techniques to draw a beautiful caption bar. Its window's like normal windows in the Win 7 but have a special caption. Is this a glass frame? How can i create one like this??

enter image description here

Frédéric Hamidi
  • 258,201
  • 41
  • 486
  • 479
Kermia
  • 4,171
  • 13
  • 64
  • 105
  • 6
    A lot of interesting resources at this related question that I asked a while ago: http://stackoverflow.com/questions/3822609/resources-for-windows-aero-glass-and-compositing-dwm – Warren P Nov 09 '11 at 00:03
  • Yes, this techniques is called `drawing on glass` – OnTheFly Nov 09 '11 at 03:49

1 Answers1

12

The best reference I know for this is a series of articles by renowned Delphi expert Chris Rolliston.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
  • 3
    Found these too. An awful lot of work for this purpose, although the code is available with the article. – GolezTrol Nov 08 '11 at 21:20
  • 2
    There's a lot of work involved in supporting an XP/Win2003 compatible fallback mode. If I read the articles linked above correctly, Chris didn't fully implement that logic. For a sample that fully implements it, check out the VCL Ribbon source code, which does implement custom non-client painting both in DWM on mode on windows 7 , and DWM off mode, as well as on Windows XP. – Warren P Nov 09 '11 at 15:08