Lister plugin API: WM_MEASUREITEM in 64 bit mode

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Lister plugin API: WM_MEASUREITEM in 64 bit mode

Post by *Lefteous »

I'm using TC 8.51a and try to use owner-drawing in ListNotificationReceived in a Lister plugin. The following works fine:
- WM_DRAWITEM and WM_MEASUREITEM in the 32 bit version of the plugin.
- WM_DRAWITEM in the 64 bit version of the plugin.

So it seems WM_MEASUREITEM isn't called in the 64 bit version of the plugin.

I have found an old fixed bug thread - not sure if it's related:
http://www.ghisler.ch/board/viewtopic.php?t=39668
and another one which is just about ListNotificationReceived not being called in x64 at all:
http://www.ghisler.ch/board/viewtopic.php?t=34180
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should work. Could you send me a small sample plugin, so I can test it, please?
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This was fixed in 8.52 beta 1, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I have tested it successfully with 8.52ß1 using the sample plugin I sent you a while ago.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply