Themed current path panel
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, what theme part should I use?
https://msdn.microsoft.com/de-de/bb773210
https://msdn.microsoft.com/de-de/bb773210
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2ghisler(Author)
Yes it was really just a fancy idea. Sometimes such ideas lead to better ideas...
The active path is really a weird control. It's a mix of a document title bar and an edit field. So it's really difficult to find the right theming here. Did you try the 'window parts'? I'm not sure sure though how this would work with the breadcrumbs.
Yes it was really just a fancy idea. Sometimes such ideas lead to better ideas...
The active path is really a weird control. It's a mix of a document title bar and an edit field. So it's really difficult to find the right theming here. Did you try the 'window parts'? I'm not sure sure though how this would work with the breadcrumbs.
Code: Select all
//
// WINDOWSTYLE class parts and states
//
#define VSCLASS_WINDOWSTYLE L"WINDOWSTYLE"
#define VSCLASS_WINDOW L"WINDOW"
enum WINDOWPARTS {
WP_CAPTION = 1,
WP_SMALLCAPTION = 2,
WP_MINCAPTION = 3,
WP_SMALLMINCAPTION = 4,
WP_MAXCAPTION = 5,
WP_SMALLMAXCAPTION = 6,
WP_FRAMELEFT = 7,
WP_FRAMERIGHT = 8,
WP_FRAMEBOTTOM = 9,
WP_SMALLFRAMELEFT = 10,
WP_SMALLFRAMERIGHT = 11,
WP_SMALLFRAMEBOTTOM = 12,
WP_SYSBUTTON = 13,
WP_MDISYSBUTTON = 14,
WP_MINBUTTON = 15,
WP_MDIMINBUTTON = 16,
WP_MAXBUTTON = 17,
WP_CLOSEBUTTON = 18,
WP_SMALLCLOSEBUTTON = 19,
WP_MDICLOSEBUTTON = 20,
WP_RESTOREBUTTON = 21,
WP_MDIRESTOREBUTTON = 22,
WP_HELPBUTTON = 23,
WP_MDIHELPBUTTON = 24,
WP_HORZSCROLL = 25,
WP_HORZTHUMB = 26,
WP_VERTSCROLL = 27,
WP_VERTTHUMB = 28,
WP_DIALOG = 29,
WP_CAPTIONSIZINGTEMPLATE = 30,
WP_SMALLCAPTIONSIZINGTEMPLATE = 31,
WP_FRAMELEFTSIZINGTEMPLATE = 32,
WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33,
WP_FRAMERIGHTSIZINGTEMPLATE = 34,
WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35,
WP_FRAMEBOTTOMSIZINGTEMPLATE = 36,
WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37,
WP_FRAME = 38,
};
#define WINDOWSTYLEPARTS WINDOWPARTS;
enum FRAMESTATES {
FS_ACTIVE = 1,
FS_INACTIVE = 2,
};
enum CAPTIONSTATES {
CS_ACTIVE = 1,
CS_INACTIVE = 2,
CS_DISABLED = 3,
};
enum MAXCAPTIONSTATES {
MXCS_ACTIVE = 1,
MXCS_INACTIVE = 2,
MXCS_DISABLED = 3,
};
enum MINCAPTIONSTATES {
MNCS_ACTIVE = 1,
MNCS_INACTIVE = 2,
MNCS_DISABLED = 3,
};
enum HORZSCROLLSTATES {
HSS_NORMAL = 1,
HSS_HOT = 2,
HSS_PUSHED = 3,
HSS_DISABLED = 4,
};
enum HORZTHUMBSTATES {
HTS_NORMAL = 1,
HTS_HOT = 2,
HTS_PUSHED = 3,
HTS_DISABLED = 4,
};
enum VERTSCROLLSTATES {
VSS_NORMAL = 1,
VSS_HOT = 2,
VSS_PUSHED = 3,
VSS_DISABLED = 4,
};
enum VERTTHUMBSTATES {
VTS_NORMAL = 1,
VTS_HOT = 2,
VTS_PUSHED = 3,
VTS_DISABLED = 4,
};
enum SYSBUTTONSTATES {
SBS_NORMAL = 1,
SBS_HOT = 2,
SBS_PUSHED = 3,
SBS_DISABLED = 4,
};
enum MINBUTTONSTATES {
MINBS_NORMAL = 1,
MINBS_HOT = 2,
MINBS_PUSHED = 3,
MINBS_DISABLED = 4,
};
enum MAXBUTTONSTATES {
MAXBS_NORMAL = 1,
MAXBS_HOT = 2,
MAXBS_PUSHED = 3,
MAXBS_DISABLED = 4,
};
enum RESTOREBUTTONSTATES {
RBS_NORMAL = 1,
RBS_HOT = 2,
RBS_PUSHED = 3,
RBS_DISABLED = 4,
};
enum HELPBUTTONSTATES {
HBS_NORMAL = 1,
HBS_HOT = 2,
HBS_PUSHED = 3,
HBS_DISABLED = 4,
};
enum CLOSEBUTTONSTATES {
CBS_NORMAL = 1,
CBS_HOT = 2,
CBS_PUSHED = 3,
CBS_DISABLED = 4,
};
From the list of parts and states posted above the following seems to be the title bar themes:
WP_MAXCAPTION,
MXCS_ACTIVE and MXCS_INACTIVE
http://lefteous.totalcmd.net/tc/ideas/themed_title_bar.png
WP_MAXCAPTION,
MXCS_ACTIVE and MXCS_INACTIVE
http://lefteous.totalcmd.net/tc/ideas/themed_title_bar.png
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
One problem is that on Windows 10, active and inactive title bar are both white...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
In Windows 10 you can set one color for Start, taskbar, action center and title bar (same color), so the title bar isn't necessarily white.on Windows 10, active and inactive title bar are both white...
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
IIRC the color of the title bars depends on a system setting that was introduced with v1511 (November 2015), and is derived from the user's wallpaper (or perhaps background color). This also applies to some colors of the start menu.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Windows 10: Settings -> Personalization -> Colors -> Show color on Start, taskbar, action center and title bar.
The title bar color only seems to apply for traditional Windows Programs, not for Metro Apps
The title bar color only seems to apply for traditional Windows Programs, not for Metro Apps
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar