A Windows Message to tell TC to Refresh its display
Moderators: Hacker, petermad, Stefan2, white
A Windows Message to tell TC to Refresh its display
Good day
Is there a Windows Message (WM_) which Total Commander responds to by refreshing its display (the file lists). It should allow a developer to send that message to Total Commander whenever the developer wants TC to refresh its display.
Thank You
Is there a Windows Message (WM_) which Total Commander responds to by refreshing its display (the file lists). It should allow a developer to send that message to Total Commander whenever the developer wants TC to refresh its display.
Thank You
JKK
You can send message with ID equal to WM_USER+51 with wParam set to the code of any internal TC command, e.g. 540 for cm_RereadSource. However, this will refresh only the contents of the active panel. If you need to refresh both panels, you have to send a sequence of commands, like, for instance, TCMC tool does.
You can send message with ID equal to WM_USER+51 with wParam set to the code of any internal TC command, e.g. 540 for cm_RereadSource. However, this will refresh only the contents of the active panel. If you need to refresh both panels, you have to send a sequence of commands, like, for instance, TCMC tool does.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Sweet!Flint wrote:JKK
You can send message with ID equal to WM_USER+51 with wParam set to the code of any internal TC command, e.g. 540 for cm_RereadSource. However, this will refresh only the contents of the active panel. If you need to refresh both panels, you have to send a sequence of commands, like, for instance, TCMC tool does.
I will try it out and let you know how it goes.
Thanks for the input
JKK
Moreover, they are listed right in TC itself when you customize buttonbars, keyboard shortcuts, etc.
Moreover, they are listed right in TC itself when you customize buttonbars, keyboard shortcuts, etc.

Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Excellent! I get more impressed by TC the more I use it.Flint wrote:JKK
Moreover, they are listed right in TC itself when you customize buttonbars, keyboard shortcuts, etc.
I use two separate trees, in other words two tree panels and a file panel for each and there are a few irritations using them but I will wait for later releases and if they persist I will let Ghisler know.
Thanks again
Why do you want to wait for the new release?JKK wrote:I use two separate trees, in other words two tree panels and a file panel for each and there are a few irritations using them but I will wait for later releases and if they persist I will let Ghisler know.
If you dislike your current layout, you can change it now, there are many options you can choose from:
1- One panel (set the other to 0%)
2- One tree, one panel (cm_SrcTree)
3- One tree, two panels (cm_SeparateTree1)
4- Two trees, two panel (your current layout)
5- Three trees, one panel (cm_SrcTree, cm_SeparateTree1 and cm_SeparateTree2)
6- Four trees (cm_RightTree, cm_LeftTree, cm_SeparateTree1 and cm_SeparateTree2)
It is not the capabilities to have multiple tree views but rather how little things irritate when using the tree views. One example would be the mouse wheel scrolling inside a tree view. I also have possible feature requests for tree views but will post those later.ts4242 wrote:Why do you want to wait for the new release?
If you dislike your current layout, you can change it now, there are many options you can choose from:
1- One panel (set the other to 0%)
2- One tree, one panel (cm_SrcTree)
3- One tree, two panels (cm_SeparateTree1)
4- Two trees, two panel (your current layout)
5- Three trees, one panel (cm_SrcTree, cm_SeparateTree1 and cm_SeparateTree2)
6- Four trees (cm_RightTree, cm_LeftTree, cm_SeparateTree1 and cm_SeparateTree2)
ts4242 wrote:Cannot you use wheel scrolling inside a tree view? It is work here!


What irritates me with the mouse wheel scroll in the tree view is that if I click on a folder in the tree view TC will set the focus to the attached file pane thus leaving the tree view and not allowing me to immediately use the mouse wheel on it. I have to click again on the same folder in the tree view. Then only will the focus stay on that tree view and I can then mouse wheel scroll. As I said it is a small irritation but still an irritation unless I am missing a setting where I can disable that behaviour.
I have not documented all these issues yet and will post them on the forums a soon as I have. It is not a train smash to me as I love TC and I am still very much satisfied using it.
This is strange behavior, here the tree view doesn't lost the focus after click on a folder.JKK wrote:What irritates me with the mouse wheel scroll in the tree view is that if I click on a folder in the tree view TC will set the focus to the attached file pane thus leaving the tree view and not allowing me to immediately use the mouse wheel on it. I have to click again on the same folder in the tree view.
Maybe you have third party tool or script cause that.
No scripts or third party tools installed.ts4242 wrote:This is strange behavior, here the tree view doesn't lost the focus after click on a folder.
Maybe you have third party tool or script cause that.
I am using TC 7.04. Which version are you using. Maybe I should upgrade. That is also the reason that I said I will first upgrade to a later version and then see what still bugs me.
I'm using the latest version 8.01, you can download from here http://www.ghisler.com/download.htm
Yip! You convinced me!ts4242 wrote:I'm using the latest version 8.01, you can download from here http://www.ghisler.com/download.htm

Let me upgrade. Will check quickly.