CppWebBrowser NewWindow2 Event [BCB5]
Posted on 2002-07-25
What is LPDISPATCH *ppDisp used for and can I find out information i.e. size,toolbars visible,StatusBar visible etc.. on the opening window from it? Need examples.
What I need to know is how to cancel a new window from this event according to certain criteria to eliminate advertising popups. i.e size, sizeable ,and wether it has toolbars, scrollbars visible etc..
I don't want to eliminate new windows that where you shift/click on a link or window.new or "Open in new window"
void __fastcall TMainForm::BrowserNewWindow2(TObject *Sender,
LPDISPATCH *ppDisp, TOLEBOOL *Cancel)