Are an CanYouHandleThisFile supported in last version TC?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Vittaly
Junior Member
Junior Member
Posts: 3
Joined: 2009-04-22, 05:12 UTC

Are an CanYouHandleThisFile supported in last version TC?

Post by *Vittaly »

I wrote Packer and List plugin for specific Mail format.
Ctrl+PgDn is work on TC v5.50 packer, but don't work on TC v6.56.
CanYouHandleThisFile function has no calls from TC
under the debugger. Previous version work correctly.
Are this function supported in new version of TC?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You mean TC 7.5? Yes, this should definitely work. I just tried it with ResExtract plugin, which is associated with "exe_" extension here, but opens .exe files on Ctrl+PageDown just fine...
Author of Total Commander
https://www.ghisler.com
Vittaly
Junior Member
Junior Member
Posts: 3
Joined: 2009-04-22, 05:12 UTC

Post by *Vittaly »

Thank you! On TC 7.04a it work. But hints exists. When I pack the directory, in v5.50 intrinsic files are packed into the archive directory.
In latests TC directory create normally, files are packed in root directory.
My packer is specific - pack to specific mail format - filll sender, recipients, message and attached files fields.
Question: can I set archive name in "Pack to" TC dialog from my own "Configure" dialog programmatically without direct access to parent dialog's controls?
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

Question: can I set archive name in "Pack to" TC dialog from my own "Configure" dialog programmatically without direct access to parent dialog's controls?
The destination filename (archive name) is given as parameter in the function PackFile.
In your configure, set a global variable, then re-use it in this function.
TC#88260 -
Vittaly
Junior Member
Junior Member
Posts: 3
Joined: 2009-04-22, 05:12 UTC

Post by *Vittaly »

It I know. But chaniged name isn't visible for user after configure is done! New name generated from sequential numbers of mailed lettres into PackFiles (after TC dialog is already closed)!.
If ID of TEdit in Main dialog is known, my dialog can send SetWindowText to this control of parent window.
PS: (24 apr)
No problem with edit the file name! TC is wonderful! Pack Files window isn't dialog.
Thank you very much.
Post Reply