Community
    • Login

    Stop that "search" tone!

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dave NadenD
      Dave Naden
      last edited by

      when I do a Search->Find (CNTL-F), specify a text string, and if fails, a long and loud bell sounds. Does anybody know how to turn that off? Thanks, Dave Naden

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS
        Scott Sumner @Dave Naden
        last edited by

        @Dave-Naden

        There is currently no way to turn that off, short of modifying and rebuilding the source code. Here’ s the “offending” area:

        FindReplaceDialog.cpp:

        void FindReplaceDlg::setStatusbarMessage(const generic_string & msg, FindStatus staus)
        {
            if (staus == FSNotFound)
            {
                ::MessageBeep(0xFFFFFFFF);
        

        Interestingly, the MSDN documentation for this calls 0xFFFFFFFF a “simple beep”, not a “long and loud bell”.

        1 Reply Last reply Reply Quote 0
        • Dave NadenD
          Dave Naden
          last edited by

          Thank you! -Dave

          1 Reply Last reply Reply Quote 0
          • Ben VorisB
            Ben Voris
            last edited by

            Fwiw, I get a short beep, which maps to what Win10 Settings -> Sound -> Sounds shows as “Default Beep”. Not a Windows programmer, so I don’t know if that is the same as “simple beep”.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors