Re: Focus
- From: Jeff <Jeff@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Oct 2008 07:08:01 -0700
I guess it looks like I'm having a similar problem exception I am dealing
with the Windows Forms wrapper for the WebBrowser control. I'm curious if
this same suggestion would work in my case where I have had problems
regaining focus after it is taken from another window. What I have too look
into now is the proper way to obtain the IOleObject interface from the
Windows Forms WebBrowser control.
More information on the issues I'm facing can be found at the following link.
Focus issues with System.Windows.Controls.WebBrowser
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/1b50fec6-6596-4c0a-9191-32cd059f18f7
"Igor Tandetnik" wrote:
"Bartosz Milewski" <BartoszMilewski@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in.
message news:60CB327A-C019-4821-95A2-88A1CDE25FE2@xxxxxxxxxxxxx
How do I give focus to the embedded browser control?
Query it for IOleObject, call DoVerb(OLEIVERB_UIACTIVATE)
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
- Prev by Date: JS permission denied in embedded IE7
- Previous by thread: JS permission denied in embedded IE7
- Index(es):
Relevant Pages
|