Speaker beeps when request dialog popups

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Speaker beeps when request dialog popups

Post by *MVV »

Hi to all!

When FS plugin calls callback request function that displays input dialog, speaker plays beep sound.

Why and how can it be prevented?


E.g. when I execute <edit command in my Virtual Panel plugin, TC plays sound and then shows dialog where I can edit target/script contents. Plugin calls RequestProc function. In my case request type is RT_Other. Sound here is not needed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, you can't, TC explicitly calls MessageBeep(0) to alert the user. Why is that a problem?
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

For some users problem may be that this sound can't be disabled. And, in my case (e.g.) this sound is not needed since dialog appears immediately after executing command, so user knows that dialog will appear.
Post Reply