Multiple Instances Hosted



I am detecting key events WM_KEYUP and WM_KEYDOWN. Works great if there is a
single instance of the web browser control hosted on my app. But, when two
instances are hosted I can't seem to detect the keypress in the first
instance.

I am using hooks for this? Any ideas? does WM_PARENTNOTIFY work? Been trying
to use WM_PARENTNOTIFY seems to detect which window has the focus but still
unable to detect WM_KEYUP and WM_KEYDOWN.

Any pointers on how and what is the correct way to host multiple web browser
controls and the way to detect keystrokes.

A.L .


.



Relevant Pages

  • Re: VB form layout vs. HTML layout
    ... >When you sa "Why don't you just use the same web form in your VB app?", ... I meant show the HTML form element in a web browser control on a VB6 form ...
    (microsoft.public.vb.general.discussion)
  • Re: Custom Outlook Form with Web Browser Control
    ... Have the recipient add the Message Class field to the view. ... Author of Microsoft Outlook 2007 Programming: ... does including a web browser ... web browser control doesn't automatically one-off the form, ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: Display XML in WebBrowser Control
    ... XML to the web browser control and have the web browser conrol ... automatically apply its stylesheet for XML tree pretty printing. ... That is why I told the original poster that he can of course ...
    (microsoft.public.dotnet.xml)
  • Re: Custom Outlook Form with Web Browser Control
    ... Sue Mosher, Outlook MVP ... does including a web browser ... web browser control doesn't automatically one-off the form, ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: Custom Outlook Form with Web Browser Control
    ... Sue Mosher, Outlook MVP ... does including a web browser ... web browser control doesn't automatically one-off the form, ...
    (microsoft.public.office.developer.outlook.forms)