View previous topic :: View next topic |
Author |
Message |
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Wed Jan 15, 2020 10:36 am Post subject: Caption / Menu Separation |
|
|
Using Windows 10 in my formatted windows there is no separation between the caption and the following menu part. For both the background is white. %bg influences only the part below the menu. I would like to have a separation line between caption and menu or light grey background for the menu.
How to get this? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Wed Jan 15, 2020 10:54 am Post subject: |
|
|
If this is for your own use only then you can set the theme of your desktop by right clicking and selecting Personalize. Then click on Theme in the left hand panel and select a different theme.
If this is for your users then the problem becomes much more difficult and I would have to think about that. |
|
Back to top |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Wed Jan 15, 2020 10:59 am Post subject: |
|
|
I would like to change it for my customers. To move any formatted window on the screen, you have to pick into the caption area. Picking into the menu area has no effect. But one cannot see the difference. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Wed Jan 15, 2020 4:26 pm Post subject: |
|
|
As I understand it, the position of the menu bar relative to the caption and the background colours of the caption and menu bar are dictated by the desktop "theme".
The end user can change the theme (which is a Microsoft attribute of the desktop). They can select one of the given Microsoft themes or they can provide their own customised theme. There are also lots of apps available on the internet that allow you to customise your own theme.
As far as I know ClearWin+ can do nothing to help. |
|
Back to top |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Wed Jan 15, 2020 4:44 pm Post subject: |
|
|
Of course, I know this. However, many customers are using the default where caption and menu bar have just white background.
Other development systems allow to make light grey background for the menu line. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Thu Jan 16, 2020 7:19 am Post subject: |
|
|
I have just remembered that %em might do the trick.
Search for "enhanced menus" in ftn95.chm.
You could try %em[theme1] or %em[theme2]. |
|
Back to top |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Fri Jan 17, 2020 8:59 am Post subject: |
|
|
I found "new enhanced menus" and tried all possibilities without any effect.
Code: | iFontHandle = 0
CALL SelectFont () ! Select font
MA = WINIO@ ('%fh&', iFontHandle)
MA = WINIO@ ('%ca@&', CA_STRING)
MA = WINIO@ ('%mi[app_icon]&')
MA = WINIO@ ('%nc[BG_MANAGER]&')
MA = WINIO@ ('%rm&', CB_GETXT)
MA = WINIO@ ('%bg&', RGB@(135,215,230))
MA = WINIO@ ('%sp&', iCurrWinPosX, iCurrWinPosY)
MA = WINIO@ ('%hw&', iWindowHandle)
MA = WINIO@ ('%cc&', CB_EXIT)
MA = WINIO@ ('%ew&', CB_EXIT)
MA = WINIO@ ('%dl&', 2.0D0, CB_UPDCWW)
MA = WINIO@ (%em .....
MA = WINIO@ ('%mn[&File[]]&')
MA = WINIO@ ('%?mn[[~Select &Project]]@&', iAV_SeleDir, CB_SELECT, 'Select BINGO project directory')
MA = WINIO@ ('%?mn[[~Project &File]]@&', iAV_SetProFil, CB_OPTI, 'Set BINGO Project File name')
MA = WINIO@ ('%?mn[[&Access]]@&', CB_ACCESS, 'Remove ''ReadOnly'' status from all files in directory')
|
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Fri Jan 17, 2020 9:11 am Post subject: |
|
|
Can you post the coding for %em so that I can check this for you. |
|
Back to top |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Fri Jan 17, 2020 9:36 am Post subject: |
|
|
Code: | MA = WINIO@ ('%em[w7]&')
MA = WINIO@ ('%em[w8]&')
MA = WINIO@ ('%em[theme1]&')
MA = WINIO@ ('%em[theme2]&')
MA = WINIO@ ('%em[background=#303030]&')
|
|
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Fri Jan 17, 2020 12:19 pm Post subject: |
|
|
I have huge sympathies for Erwin’s problem, because on moving to Windows 10 I noticed this issue, which was compounded by the version of CorelDRAW I was then using drawing not only the caption but also the menu bar labels in white! (White on white not being all that readable). The only solution I could find at the time was to spend £100s upgrading, with the end result that CorelDRAW decided that my old files should become unreadable as they were in formats no longer supported.
My own reading of such commentaries that are on the web is that this is a rather intractable problem, and certainly not the ‘fault’ of Silverfrost, FTN95 or ClearWin+, but something embedded in Windows.
Eddie |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Fri Jan 17, 2020 4:57 pm Post subject: |
|
|
Yes I can see that these options do not help.
I have added this to my list for investigation to see if the menu bar colour can be configured. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Mon Jan 20, 2020 2:24 pm Post subject: |
|
|
According to the Microsoft documentation this should be possible via a call to the Windows API function SetMenuInfo but I can't get it to work. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Mon Jan 20, 2020 5:00 pm Post subject: |
|
|
Eddie, your CorelDraw problem apparently is Win10 origin not qny new version of CorelDraw, did you find This trick To Fix It ? _________________ ''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... " |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Tue Jan 21, 2020 4:17 pm Post subject: |
|
|
Thanks John,
But the money has already been spent. Anyway, it's a workaround. Most apps don't suffer from the problem, so the truth is out there.
Eddie |
|
Back to top |
|
|
|