forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Win 10 caption &/or menu bar colours

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Fri Oct 16, 2015 9:51 pm    Post subject: Win 10 caption &/or menu bar colours Reply with quote

I have come to grips with almost everything about Windows 10 that is different from previous versions. One of the key differences is that both the menu bar and the caption bar are white. I have found that the grey, 3D, look that you get with a toolbar made of %ib buttons and when you use %bx looks incongruous against this. I worked out that I wasn't keen on redesigning all my icons, so I experimented in Paint with various colours.

Now I know that it is possible to have coloured bars in Win 10, because MS apps do so. But, the function SetSysColors has an affect on all windows, allegedly, as MSDN puts it:

"The SetSysColors function sends a WM_SYSCOLORCHANGE message to all windows to inform them of the change in color. It also directs the system to repaint the affected portions of all currently visible windows."

Does anyone know of a routine to affect the colour only of the current app?

Eddie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Sat Oct 17, 2015 8:05 am    Post subject: Reply with quote

Eddie

For menus, have you tried experimenting with %em (see the enhancements file)? Although %em is specifically for added icons, I think that you will find that it provides a mechanism to set the background colour.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Sat Oct 17, 2015 4:03 pm    Post subject: Reply with quote

Hi Paul,

thank you for pointing out this possibility, but unfortunately it only relates to the drop-down menu once you have selected a top level menu item. I don't think I'd tried the theme1 and theme2 options but I had certainly tried w7 and w8. I use %em in one program, were it doesn't seem to matter that the line spacing is enlarged to cope with the 16 x 16 icons instead of the 13 x 13 icons that are usually used for this purpose in a Windows program. In any case, I thought I'd keep my mouth shut about this particular issue because it was looking a gift horse in the mouth, and you already went to considerable effort to provide this facility.

The problem really is not in the drop-down menu itself but in the top level menu bar and a caption bar which in Windows 10 for an FTN 95 program are undifferentiated and come up in white with black text. Microsoft seems again to have ignored its own user experience guidelines because the new range of applications in Windows 10 and also in Microsoft Office 2016 cram the caption bar with all manner of icons including some the have their own drop-down menus. These are put in in addition to the normal system menu icon. Not long ago Microsoft were telling us not to add (for example) the printer icon for quick access to the print menu, and now they are doing it themselves with gay abandon for all manner of functions.

With all these extra icons, and with the application caption centred in the bar, and with the normal three icons for minimise, restore, and close more widely spaced – perhaps so that they can be selected with a fingertip press – the caption line and the top level menu bar are differentiated after a fashion. It also helps differentiate them when the top level menu items are formed into tabs as part of a ribbon. But a really conventional Windows application just comes up with the two undifferentiated.

Eddie
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Sat Oct 17, 2015 6:16 pm    Post subject: Reply with quote

I loaded Plato on my WIn 10 machine, and the caption bar comes out white, but the menu bar comes out grey - so you know how to do it!
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon Oct 19, 2015 6:54 am    Post subject: Reply with quote

I am guessing that the main menu bar is not "user" drawn, the user being ClearWin+ in this context.

I have made a note that this needs to be investigated.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Mon Oct 19, 2015 11:06 am    Post subject: Reply with quote

Many thanks Paul. This is low priority and mainly a matter of aesthetics.

Eddie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Jun 01, 2016 4:48 pm    Post subject: Reply with quote

I can confirm that, when using %em, the main menu bar is drawn using the default (Microsoft) process whilst the drop-down menus are "user-drawn" by ClearWin+. So the various %em style options do not affect the main menu.
Back to top
View user's profile Send private message AIM Address
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Mon Jun 06, 2016 5:46 pm    Post subject: Reply with quote

Eddie you said:-
Quote:
One of the key differences is that both the menu bar and the caption bar are white


It seems that the latest versions have the option to change the colours now (a classic case of M$ roundabout concerning features which appear, disappear, reappear, etc...)

All in all it seems like a minefield.

However there are a lot of articles around which discuss the transition from b&w to colour, like this for example ...

http://www.howtogeek.com/222831/how-to-get-colored-window-title-bars-on-windows-10-instead-of-white/

OR

http://www.tenforums.com/tutorials/3380-color-appearance-change-windows-10-a.html


And a couple I came across which discuss Registry tricks .....

http://www.thewindowsclub.com/get-colored-window-title-bar-windows-10

or .bat files

http://www.tenforums.com/tutorials/5768-start-taskbar-action-center-color-turn-off-windows-10-a.html

to do various tricks.
Which may, or probably not LOL, help in some way.

Personally I'll stick with Windows 7 which is all anyone ever needed !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group