Lister Menu Items

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
frankoni22000
Junior Member
Junior Member
Posts: 3
Joined: 2006-02-02, 06:57 UTC

Lister Menu Items

Post by *frankoni22000 »

Hi there,

is there a possiblity to 'grey-out' a lister menu item in case it is of no use? All 'Edit' items are nonsense while displaying an image, e.g.

frankoni
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

Plugin API is not suitable for that, so the only option is to use Win32 API functions, but this is a dirty hack :)
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

No drity hack at all....
several lines of code....

NtNativeAPI is dirty hack.
Habemus majkam!
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

majkinetor ! wrote:No drity hack at all....
several lines of code....
Since Plugin API does not support access to Lister menu I will consider such attempts as a hack.
Personally I do not like plugins messing with Lister menus...
Just imho.
frankoni22000
Junior Member
Junior Member
Posts: 3
Joined: 2006-02-02, 06:57 UTC

Post by *frankoni22000 »

Hooks might be an alternative, but difficult to debug...
A common interface to do this would be best. I see this is a future part in the 'wishlist' :roll:
Post Reply