[TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
Moderators: Hacker, petermad, Stefan2, white
[TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
cm_RightViewModeList 0 seems to do the same as cm_RightViewModeList without parameter.
cm_RightViewModeList <name> seems to set view mode to none.
The left and src variant both work OK.
cm_RightViewModeList <name> seems to set view mode to none.
The left and src variant both work OK.
Re: [TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
Confirmed.
cm_RightViewModeList 1, cm_RightViewModeList 2 etc. works OK though.
cm_RightViewModeList 1, cm_RightViewModeList 2 etc. works OK though.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
Confirmed, cm_LeftViewModeList 0 works fine, though.cm_RightViewModeList 0 seems to do the same as cm_RightViewModeList without parameter.
It only supports numeric parameters, see help.cm_RightViewModeList <name> seems to set view mode to none.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
Yes, that is what the help shows, but in practice cm_LeftViewModeList name and cm_SrcViewModeList name works, so why not also cm_RightViewModeList nameIt only supports numeric parameters, see help.
Also the history contradicts the Help:
It was even extended to work in the command line:history.txt wrote:16.10.16 Fixed: cm_LeftViewModeList, cm_RightViewModeList and cm_SrcViewModeList now accept a view mode number>0 or view mode name as parameter in button bar, start menu, or internal command (32/64)
24.10.16 Fixed: cm_SrcViewModeList didn't accept view mode names as parameter, only view mode numbers (32/64)
history.txt wrote:25.11.19 Fixed: cm_SrcViewModeList with parameter did not work on command line (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
Yes, as I said:ghisler(Author) wrote: 2023-09-11, 10:28 UTCConfirmed, cm_LeftViewModeList 0 works fine, though.cm_RightViewModeList 0 seems to do the same as cm_RightViewModeList without parameter.
ghisler(Author) wrote: 2023-09-11, 10:28 UTCIt only supports numeric parameters, see help.cm_RightViewModeList <name> seems to set view mode to none.


ghisler(Author) wrote: 2016-10-17, 13:12 UTC OK, weil der Aufwand gering ist, habe ich das nun so eingebaut (für Buttons, Startermenü und benutzerdef. Befehle):
cm_SrcViewModeList Ansichtsmodusname
Dasselbe geht mit Left/Right.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
I see, I will add it. Btw, you can use
cm_RightViewModeList -1
to switch to the default mode. That's what you would have to pass as LPARAM when sending the message directly, because 0 is the default (open the menu). When using a button or the command line, 0 is changed to -1 internally for cm_LeftViewModeList.
cm_RightViewModeList -1
to switch to the default mode. That's what you would have to pass as LPARAM when sending the message directly, because 0 is the default (open the menu). When using a button or the command line, 0 is changed to -1 internally for cm_LeftViewModeList.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.01] "cm_RightViewModeList 0" and "cm_RightViewModeList <name>" don't work
Confirmed fixed in TC 11.02rc1history.txt wrote:12.09.23 Fixed: cm_RightViewModeList didn't support parameter 0 (default) and view mode names as cm_LeftViewModeList (32/64)

Moderator message from: petermad » 2023-10-05, 19:32 UTC
Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar