?
Solved

TWebBrowser Click

Posted on 2005-03-30
6
Medium Priority
?
187 Views
Last Modified: 2010-04-05
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
Comment
Question by:Greenandroid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 26

Expert Comment

by:EddieShipman
ID: 13666178
Set the value in this registry key to empty.
 [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.current]


0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 13666183
If you don't want to change it for the entire system, thats the way Windows works, deal with it or forget it.
0
 
LVL 26

Accepted Solution

by:
Russell Libby earned 150 total points
ID: 13666184
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 26

Expert Comment

by:Russell Libby
ID: 13666200
Too slow on this one ;-) ...

0
 
LVL 2

Author Comment

by:Greenandroid
ID: 13674064
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
 
LVL 26

Expert Comment

by:EddieShipman
ID: 13676242
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question