Re: help needed: activating BHO for showModalDialog and showModelessDialof?



"Noa" <nlevin@xxxxxxxxxx> wrote in message
news:ecb853be-4318-4f66-bacd-03b6f209b4b1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Another related question
.... I have the HWND of the "Internet Explorer_server" window that is
created in the opened dialog.

How can i get the html dom from it?...

KB249232 "How To Get IHTMLDocument2 from a HWND"

Can i get the webbrowser2 ?

No. It doesn't exist for these dialogs.

Cani set this window somehow to a new instance of my BHO?

Well, you can manually create an instance of your BHO of course, but I'm
not sure how this helps.
--
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


.



Relevant Pages

  • Re: help needed: activating BHO for showModalDialog and showModelessDialof?
    ... I have the HWND of the "Internet Explorer_server" window that is ... How can i get the html dom from it?... ... Cani set this window somehow to a new instance of my BHO? ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Are VBA userforms always child of Windows desktop?
    ... I only need this Hwnd of the parent, ... GetAncestor API (with GA_PARENT) to get Parent. ... I suppose which window you need will depend on the overall objective. ... Private Declare Function GetDesktopWindow Lib "user32" As Long ...
    (microsoft.public.excel.programming)
  • Re: Why doesnt this recursive function return the right value?
    ... sClassName Like ClassName & "*" Then FindWindowHwndLike_B = hwnd lHolder = hwnd ... Couldn't find anything for the ClassName comparison. ... Dim s1 As String, s2 As String ... 'finds the first window where the class name start with ClassName ...
    (microsoft.public.excel.programming)
  • Re: Creating new appointment & setting its properties
    ... The window and process subclassing I've seen with WordMail is horrendous, it's miles of code just to get a true hWnd for a WordMail window usually. ... Private Declare Function GetForegroundWindow Lib "User32.dll" As Long ... Private Declare Function FindWindowEx Lib "User32.dll" Alias "FindWindowExA" (ByVal hwndParent As Long, ByVal hwndChildAfter As Long, ByVal lpszClass As String, ByVal lpszWindow As String) As Long ...
    (microsoft.public.outlook.program_vba)
  • re: Get the list of applications which are running
    ... Private Declare Function GetDesktopWindow Lib "user32" ... Alias "GetWindowLongA" (ByVal hwnd As Long, ... As String, ByVal cch As Long) As Long ... ' - An integer array used to return the window handles ...
    (microsoft.public.excel.programming)