Click here to Skip to main content
15,921,941 members
Home / Discussions / C#
   

C#

 
GeneralData Grid Pin
Andrei Matei30-Apr-03 10:05
Andrei Matei30-Apr-03 10:05 
GeneralResource files Pin
Kant30-Apr-03 8:28
Kant30-Apr-03 8:28 
GeneralRe: Resource files Pin
Stephane Rodriguez.30-Apr-03 9:13
Stephane Rodriguez.30-Apr-03 9:13 
GeneralRe: Resource files Pin
Daniel Turini30-Apr-03 9:36
Daniel Turini30-Apr-03 9:36 
GeneralRe: Resource files Pin
Stephane Rodriguez.30-Apr-03 9:42
Stephane Rodriguez.30-Apr-03 9:42 
GeneralRe: Resource files Pin
Daniel Turini30-Apr-03 9:50
Daniel Turini30-Apr-03 9:50 
GeneralRe: Resource files Pin
Kant30-Apr-03 10:27
Kant30-Apr-03 10:27 
QuestionTrying access Browser of NewWindow ? Pin
Mike Keith30-Apr-03 8:18
Mike Keith30-Apr-03 8:18 
I am working with IE Browser Control. When a new window event occurs I get that breakpoint no problem by implementing an axWebBrowser1_NewWindow2 method in my form.

However, I seem unable to get a handle to the new browser for that new window.
I am trying to set the ppDisp of the event like this:
e.ppDisp = axWebBrowser2.Application;

This allows the new window to show up, but I'm not sure that my axWebBrowser2 object is actually being used ?
I am unable to tie into its DocumentComplete event ? That is my question.

I tried setting a delegate to it like this:

axWebBrowser2 = new AxSHDocVw.AxWebBrowser();
this.axWebBrowser2.Application.DocumentComplete += new AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.testHandler);

The "testHandler(sender,event)" method is not being called when the new window shows and its document is loaded ?

Thanks in advance for any help on this - mike.


Zeno Rocks
AnswerRe: Trying access Browser of NewWindow ? Pin
Stephane Rodriguez.30-Apr-03 9:09
Stephane Rodriguez.30-Apr-03 9:09 
GeneralRe: Trying access Browser of NewWindow ? Pin
Mike Keith1-May-03 7:28
Mike Keith1-May-03 7:28 
Generalappend RTF text Pin
Manish K. Agarwal30-Apr-03 7:05
Manish K. Agarwal30-Apr-03 7:05 
GeneralRe: append RTF text Pin
J. Dunlap30-Apr-03 8:25
J. Dunlap30-Apr-03 8:25 
GeneralRe: append RTF text Pin
Manish K. Agarwal30-Apr-03 17:43
Manish K. Agarwal30-Apr-03 17:43 
GeneralWindow Maximize Problem Pin
Amauw Scritz30-Apr-03 7:02
Amauw Scritz30-Apr-03 7:02 
GeneralRe: Window Maximize Problem Pin
Stephane Rodriguez.30-Apr-03 9:18
Stephane Rodriguez.30-Apr-03 9:18 
GeneralRe: Window Maximize Problem Pin
Amauw Scritz2-May-03 20:14
Amauw Scritz2-May-03 20:14 
Generalref string Pin
Le centriste30-Apr-03 6:00
Le centriste30-Apr-03 6:00 
GeneralRe: ref string Pin
Daniel Turini30-Apr-03 6:38
Daniel Turini30-Apr-03 6:38 
GeneralRe: ref string Pin
Le centriste30-Apr-03 9:13
Le centriste30-Apr-03 9:13 
GeneralMaking a file writable.. Pin
Le centriste30-Apr-03 5:55
Le centriste30-Apr-03 5:55 
GeneralSolved Pin
Le centriste30-Apr-03 9:14
Le centriste30-Apr-03 9:14 
GeneralRe: Solved Pin
kman29-May-03 9:50
kman29-May-03 9:50 
GeneralSerious MDI frusteration Pin
RB@Emphasys30-Apr-03 5:40
RB@Emphasys30-Apr-03 5:40 
GeneralRe: Serious MDI frusteration Pin
Daniel Turini30-Apr-03 5:48
Daniel Turini30-Apr-03 5:48 
GeneralRe: Serious MDI frusteration Pin
RB@Emphasys30-Apr-03 6:41
RB@Emphasys30-Apr-03 6:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.