wparam 3 and 1000 for WM_USER+50 in active quick view

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Stefan2, Hacker, petermad

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53139
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: wparam 3 and 1000 for WM_USER+50 in active quick view

Post by *ghisler(Author) »

Well, Total Commander only knows about the window handle returned to it via ListLoad function. The plugin should return the window embedded into Lister there.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 4033
Joined: 2020-01-18, 04:03 UTC

Re: wparam 3 and 1000 for WM_USER+50 in active quick view

Post by *Fla$her »

I understand, but this makes it difficult to find the necessary handle, except by the list of classes for some plugins.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53139
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: wparam 3 and 1000 for WM_USER+50 in active quick view

Post by *ghisler(Author) »

Then why not call GetFocus directly?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 4033
Joined: 2020-01-18, 04:03 UTC

Re: wparam 3 and 1000 for WM_USER+50 in active quick view

Post by *Fla$her »

As I explained above, the actual focus may not be on the file or quick view panels.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53139
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: wparam 3 and 1000 for WM_USER+50 in active quick view

Post by *ghisler(Author) »

Then how should Total Commander know what to return?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 4033
Joined: 2020-01-18, 04:03 UTC

Re: wparam 3 and 1000 for WM_USER+50 in active quick view

Post by *Fla$her »

Logically, TC always knows which of the two panels is selected, highlighting the header with a different color, regardless of which of the listed commands was executed.
Overquoting is evil! 👎
Post Reply