TC Lister API suggetions

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
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

TC Lister API suggetions

Post by *Alextp »

My suggestions:

1. Additional function or flag of ListSearchText that can call internal
plugin's search dialog implementation. For example, TC can call
ListSearchText with this new flag and empty search text, if plugin
supports search dialog it returns OK. If it doesn't, it returns ERROR and
TC then shows its dialog then calls ListSearchText with usual params and
search text.

Can be used in plugins: IEView, WebView, Syn, OOoViewer, xBaseView...


2. Additional show flags in ListLoad/ListSendCommand funcs:

"Quick View mode" - plugin should know, is it run in TC Quick View panel or not
"Show toolbar" - for future development
"Show status line" - for future development
"Show border around view area" (in Delphi plugin can usually just apply BorderStyle property for this)
- for future development


3. Function that allows TC to get supported plugin show flags.
It must be called before plugin loading. When some flag is not supported,
corresp-g menu item in TC should be disabled.
Post Reply