Solved [9.20b1] AllowSetCursorPos not behaving
Moderators: Hacker, petermad, Stefan2, white
Solved [9.20b1] AllowSetCursorPos not behaving
Here it works fine in Separate panel trees (Shift+Ctrl+F8), but not in Main panel trees (Ctrl+F8). In Main panel trees it always work as option 0.
Last edited by petermad on 2021-05-29, 21:18 UTC, edited 2 times in total.
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: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, I think it only works in separate tree. I will check it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have checked it now - it's as you reported, AllowSetCursorPos=1 only works in the separate tree. I will also make it work for trees in normal file panels.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2alphonse68
Maybe you are not editing the right wincmd.ini file - Check in "Help" -> "About Total Commander" to see the location of your wincmd.ini file.
Maybe you are not editing the right wincmd.ini file - Check in "Help" -> "About Total Commander" to see the location of your wincmd.ini file.
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: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This should be fixed in TC 9.20 beta 2, please test it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Here in TC 9.20b2 AllowSetCursorPos=0 and AllowSetCursorPos=1 both works in Main panel tree and in Separate panel tree 

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: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
What should happen is the following: Click on [+] in a tree to open a directory with many subfolders.
-> Total Commander scrolls the tree display so the expanded directory is now at the top. With AllowSetCursorPos=1, the mouse cursor will be moved so it remains on the [+], which is now changed to a [-]. Therefore another click will collapse that directory.
-> Total Commander scrolls the tree display so the expanded directory is now at the top. With AllowSetCursorPos=1, the mouse cursor will be moved so it remains on the [+], which is now changed to a [-]. Therefore another click will collapse that directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
For me it does.Does it work as I described it?
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: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OK, please write a new bug report if anything is still wrong with it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com