[8.0ß-x64] LB_GETTEXT* stopped working for file panels
Moderators: Hacker, petermad, Stefan2, white
[8.0ß-x64] LB_GETTEXT* stopped working for file panels
When I try to send LB_GETTEXTLEN or LB_GETTEXT messages to TC's file panels in x64 version I receive the length equal to zero for each element (and empty string as its contents).
In TC x32 these messages work correctly.
In TC x32 these messages work correctly.
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
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately Lazarus blocks all Windows messages below WM_USER from getting through to the program, for cross platform compatibility. the only way to access them is to subclass the windows and try to handle the messages from there. This is a lot of work, and I have already added it for various functions...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author)
Could you please do it for file panels too, or provide some other method of getting the file names? The problem is that all multi-file editor redirectors (like ChoiceEditor, OSFTC, F4Menu, etc.) need it to allow opening several selected files by pressing F4.
Could you please do it for file panels too, or provide some other method of getting the file names? The problem is that all multi-file editor redirectors (like ChoiceEditor, OSFTC, F4Menu, etc.) need it to allow opening several selected files by pressing F4.
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
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, I will of course try to add it again, I just didn't have the time yet.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
IMO it would be better to provide something like an official scripting api.
Currently there are several workarounds needed to get some of the informations.
Methods like this would be great:
getFolder(left, right, source, target), getFiles, getSelectedFiles, sendCommand, sendCustomCommand, setFolder, setFileSelection, etc.
Currently there are several workarounds needed to get some of the informations.
Methods like this would be great:
getFolder(left, right, source, target), getFiles, getSelectedFiles, sendCommand, sendCustomCommand, setFolder, setFileSelection, etc.
OK, thank you. I'll be waiting patiently.ghisler(Author) wrote:Yes, I will of course try to add it again, I just didn't have the time yet.

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
Fixed in 8.0β4. Thanks!
Now I can adapt my TCER to the x64 version.
Now I can adapt my TCER to the x64 version.

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
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: