
Back in the days of Windows XP, one of the cool moment I remember was installing new version of Total Commander, and that new version added Rebar background behind menu and top toolbars. I believe the same moment can be achieved again with adding the popular Mica backdrop.
How to:
The Mica backdrop is basically implemented (on build 22543) the same as Vista/7 aero glass. You use DwmExtendFrameIntoClientAreaAPI, to include the menu and toolbars (and perhaps bottom Fx buttons and command-line combobox) and fill the area with transparent brush: GetStockObject (BLACK_BRUSH).
That'd be enough for aero glass, but we ask the DWM to do it's thing with:
Code: Select all
DWM_SYSTEMBACKDROP_TYPE backdrop = DWMSBT_MAINWINDOW; // or DWMSBT_TABBEDWINDOW
DwmSetWindowAttribute (hwnd, DWMWA_SYSTEMBACKDROP_TYPE, &backdrop, sizeof backdrop);
Code: Select all
COLORREF clr = DWMWA_COLOR_NONE;
DwmSetWindowAttribute (hwnd, DWMWA_CAPTION_COLOR, &clr, sizeof clr);