Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

TWebBrowser Click

Not sure whether this is a particularly hard question or not, but is there an easy way to stop the little 'clicking' noise that is made when you navigate to an url using a TWebBrowser ?
  • 3
  • 2
1 Solution
Eddie ShipmanAll-around developerCommented:
Set the value in this registry key to empty.

Eddie ShipmanAll-around developerCommented:
If you don't want to change it for the entire system, thats the way Windows works, deal with it or forget it.
Russell LibbySoftware Engineer, Advisory Commented:
function RemoveNavClick: Boolean;
var  phKey:         HKEY;
     dwResult:      DWORD;

  // Open the key
  if (RegOpenKey(HKEY_CURRENT_USER, 'AppEvents\Schemes\Apps\Explorer\Navigating\.Current', phKey) = ERROR_SUCCESS) then
     // Remove the value
     RegSetValueEx(phKey, nil, 0, REG_SZ, nil, 0);
     // Close the key
     // Notify change
     SendMessageTimeout(HWND_BROADCAST, WM_WININICHANGE, 0, Integer(PChar('HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer')), SMTO_ABORTIFHUNG, 10000, dwResult);
     // Failure


This also affects Windows explorer navigation as well

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Russell LibbySoftware Engineer, Advisory Commented:
Too slow on this one ;-) ...

GreenandroidAuthor Commented:
Thanks for your answers.

Awarding points to rllibby for 2 reasons.
Eddie, your answer would have been fine, but rllibbys answer enabled me to just copy and paste (more complete solution). The second reason is that the answer you gave in your two posts were copied WORD FOR WORD from an old delphi pages post.
please see here -> http://www.delphipages.com/threads/thread.cfm?ID=129474&G=129427 (for your first comment), and for your second post, go here -> http://www.delphipages.com/threads/thread.cfm?ID=129679&G=129427

- I had already come across these pages prior, and so although this may be the only way to do it, you had only repeated what i had already seen.
Eddie ShipmanAll-around developerCommented:
Well, I am MrBaseball34, so, yes, I am authorized to copy it "WORD FOR WORD" from my own post on DP.

Sorry, I didn't know that you didn't know how to query the registry otherwise I would have posted
a more complete example.


Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now