Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form
- From: "RicksPlace" <ofbgmail@xxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Tue, 8 Jun 2010 06:29:34 -0400
If processing continues in your sub or function that shows the browser You
might be able to use the focus command to set focus on the desired form.
I forget if that statement is synch or not but in vb you could do something
like:
[code to load and show the browser]
MyMyControl.Focus()
Look up the correct syntax for the focus Method in C# and simply give it a
try, it can't hurt.
Rick USA
----- Original Message -----
From: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Tuesday, June 08, 2010 4:42 AM
Subject: Using a web browser control to display somewhat dynamic content to
sighted users, but without it taking control of KeyDown event handler for
windows form
Like subject line says, am busy with something where it will be easiest
for me to make use of a WebBrowser control to display dynamically changing
content to sighted users, while using SayTools to render content changes
to VI users, but I am making use of the forms KeyDown event handler to
capture keystrokes, so it doesn't really help too much if the focus
switches over to the WebBrowser control, so just wondering off hand if
anyone can think of an easy way to stop it from taking focus?
FWIW, this application is a version of talking scrabble, and currently
busy with a form of artificial intelligence development to allow computer
'player' to choose which words to make use of on board, but anyway, and
busy with all of this in C#, using VS.Net 2008.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 5180 (20100607) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind
Other related posts:
- » Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- Jacob Kruger
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- Martin Slack
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form - RicksPlace
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- Jacob Kruger
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- Jacob Kruger
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- Jacob Kruger
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- Jacob Kruger
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- RicksPlace
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- John O'Regan
- » Re: Using a web browser control to display somewhat dynamic content to sighted users, but without it taking control of KeyDown event handler for windows form- Jacob Kruger