See "Speaker beeps when request dialog popups" - http://www.ghisler.ch/board/viewtopic.php?t=26426 .
I just used function RequestProc with values RT_MsgOK and RT_MsgYesNo (in parameter RequestType) in the named plugin.
(I somehow wrote to the forum concerning working out of a netscan plugin: http://ghisler.ch/board/viewtopic.php?t=25999&highlight= .)
And I have been a little surprised after have switched on speakers. The above-named function RequestProc generates a sound always ! But in my concrete case the sound is not required.
Mr. Ghisler,
do you plan the possibility to disconnect a sound when it is not required in RequestProc ?
2. There is one more wish to enhancing of API.
It concerns uses of FS-plugin for nonstandard FS-plugin.
I use the function ProgressProc for display of a progress bar:
Code: Select all
int __ stdcall ProgressProc (int PluginNr, char* SourceName, char* TargetName, int PercentDone);
Specific contents "From" - "To" are not required in my case: no files are copied in a plugin. There is a network scanning during this moment. Therefore it is necessary to write something like:
Code: Select all
ProgressProc (PluginNumber, "", "", percent);
Are there ways to "enter" the necessary text line by means of API, or is it necessary to program own function of progress bar ?
Mr. Ghisler,
yours API is intended for automation of programming of FS-plugins strictly for file systems. But if there is a requirement to manipulate with lists, the declared possibilities of yours API do not suffice. And it is necessary to bring only a minimum of small changes in yours API to adapt it for work not only with file lists, but also with any others lists. The unity of user interface will be thus guaranteed, and the writing of similar plugins will be facilitated by independent developers.