✅️❔️ Programmatic determination of the current view mode

English support forum

Moderators: petermad, Stefan2, white, Hacker

Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: ✅️ Programmatic determination of the current view mode

Post by *Fla$her »

2ghisler(Author)
Sorry, you will never get these
Then why list them?
Values >15 are reserved for future additions, e.g. to handle more archive formats internally.
Do you have such plans?
Can't you do that now by comparing the return values of 3/4 with those from 1/2?
It will be more accurate, but it will not give an advantage in code size even on Autorun, and on AHK it will almost triple the size (SendMessage/ErrorLevel x3). And that's if we're only talking about activation. But if it's necessary to execute a command on the left/right side depending on whether it contains QV, this will add more conditions, since it's unknown whether it is active or not.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ✅️ Programmatic determination of the current view mode

Post by *ghisler(Author) »

Then why list them?
Because people would otherwise ask why there are gaps.
Do you have such plans?
Not for 11.57, but I may add some file types supported by 7z dll in the future.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: ✅️ Programmatic determination of the current view mode

Post by *Fla$her »

Because people would otherwise ask why there are gaps.
But as a result, other questions arose. Instead, you could just specify "6/7/12=not supported".
Not for 11.57, but I may add some file types supported by 7z dll in the future.
In the first part, I didn't even doubt. I understood about 7z, good.

Should we wait for the additive for QV?
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ✅️ Programmatic determination of the current view mode

Post by *ghisler(Author) »

you could just specify "6/7/12=not supported"
I have already changed it to
>15=reserved for future versions, 6,7,12=unused
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: ✅️ Programmatic determination of the current view mode

Post by *Fla$her »

Okay, I see. But what about the last question?
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ✅️ Programmatic determination of the current view mode

Post by *ghisler(Author) »

Which one do you mean?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: ✅️ Programmatic determination of the current view mode

Post by *Fla$her »

Should we wait for the additive for QV?
There can be only one last. ;)
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ✅️ Programmatic determination of the current view mode

Post by *ghisler(Author) »

Your last question was:
Should we wait for the additive for QV?
What additive do you mean?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: Programmatic determination of the current view mode

Post by *Fla$her »

Fla$her wrote: 2026-04-01, 13:28 UTC But still, it would be good to check for the presence of a quick view. ... It can be done separately — 1027/1028, or it can be -1 for 1015/1016 or 1025/1026.
Overquoting is evil! 👎
Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: ✅️ Programmatic determination of the current view mode

Post by *Fla$her »

2ghisler(Author)
You still haven't answered me. Why not close this subject on a good note? :)
I'm sure adding this will be a mere trifle for you.
Overquoting is evil! 👎
Post Reply