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

x
  • 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 ?
0
Greenandroid
Asked:
Greenandroid
  • 3
  • 2
1 Solution
 
Eddie ShipmanAll-around developerCommented:
Set the value in this registry key to empty.
 [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.current]


0
 
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.
0
 
Russell LibbySoftware Engineer, Advisory Commented:
function RemoveNavClick: Boolean;
var  phKey:         HKEY;
     dwResult:      DWORD;
begin

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

end;

This also affects Windows explorer navigation as well

Regards,
Russell
0
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 ;-) ...

0
 
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.
0
 
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.

0

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