473,509 Members | 2,890 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting focus to the WebBrowser control

Hello,

My application is hosting three WebBrowser control. What I am trying to do
is when the mouse move over one of the WebBrowser controls I want to set the
focus on that control so the mouse wheel can move correctly. At the moment I
have to click on the WebBrowser control itself to make the mouse wheel to
work. In addition to that, the WebBrowser control does not expose a
MouseMove/Over/Enter events. Does anyone know how to do this? Or maybe if
you can direct me to the right newsgroup.

Thanks
Jul 21 '05 #1
1 4125
You could try using the mouse move event for your form, then using the
XY coordinates of you cursor to find when it is over each browser.
This does seem a bit clunky but it should work.

"wesley" <we*@inthemix.com.au> wrote in message news:<uW*************@TK2MSFTNGP10.phx.gbl>...
Hello,

My application is hosting three WebBrowser control. What I am trying to do
is when the mouse move over one of the WebBrowser controls I want to set the
focus on that control so the mouse wheel can move correctly. At the moment I
have to click on the WebBrowser control itself to make the mouse wheel to
work. In addition to that, the WebBrowser control does not expose a
MouseMove/Over/Enter events. Does anyone know how to do this? Or maybe if
you can direct me to the right newsgroup.

Thanks

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
332
by: wesley | last post by:
Hello, My application is hosting three WebBrowser control. What I am trying to do is when the mouse move over one of the WebBrowser controls I want to set the focus on that control so the mouse...
14
1690
by: Fr15ky | last post by:
First of all, I am using the .NET 2.0 framework with Visual Studio 2005. I have two forms. One is a form with a TreeView control on it (used as a menu - kindof a favorites list) and the other is...
1
2030
by: clickon | last post by:
For testing purposes i have got a 2 step WizardControl. Eqach step contains a text box, TextBox1 and TextBox2 respectively. If i put the following code in the respective activate event handlers...
1
5125
by: clickon | last post by:
For testing purposes i have got a 2 step WizardControl. Eqach step contains a text box, TextBox1 and TextBox2 respectively. If i put the following code in the respective activate event handlers for...
1
1876
by: Heidi V.Hundåla | last post by:
I have a WebBrowser-control on my win app and I want to set the size on the images which are displayed through an url like http://blabla.com/img.jpg, but somehow the setting of my WebBrowser...
3
2134
by: DJTN | last post by:
I have an IE web control on a form that rotates the stats of the call center in it. When a new page is loaded it takes the focus away from the other textboxes on the form, even if a user is typing...
7
11902
by: Dave Booker | last post by:
I am using a WebBrowser object in my .NET 2.0 application, but it is not shown to the user. Every time a timer event triggers it to perform a m_WebBrowser.Navigate() I get that classic IE 'click'...
7
8038
by: Zytan | last post by:
I want to set a control in a form to have the default focus. This is not the accept button -- that's set to a button when is 'clicked' when you press ENTER. I want a textbox to have the focus...
3
2144
by: kelvin.koogan | last post by:
I have a number of controls on a tab page. I want to validate them all when the user tries to leave the tab. I then want to highlight the first control which fails validation. How can I do this? I...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.