Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
Paul Groetzner8-Aug-06 6:34
Paul Groetzner8-Aug-06 6:34 
GeneralRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
David Crow8-Aug-06 6:56
David Crow8-Aug-06 6:56 
GeneralRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
Paul Groetzner8-Aug-06 7:38
Paul Groetzner8-Aug-06 7:38 
GeneralRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
David Crow8-Aug-06 7:50
David Crow8-Aug-06 7:50 
GeneralRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
Paul Groetzner8-Aug-06 8:03
Paul Groetzner8-Aug-06 8:03 
QuestionRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
David Crow8-Aug-06 8:38
David Crow8-Aug-06 8:38 
AnswerRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
Paul Groetzner8-Aug-06 9:33
Paul Groetzner8-Aug-06 9:33 
QuestionRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
David Crow8-Aug-06 9:39
David Crow8-Aug-06 9:39 
univega_r304 wrote:
If it is, I'm not able to get the URL the link is pointing to. It's probably something that would still be handled by NewWindow... My guess is there's a few more parameters available, one of which would contain the URL to the link.


Do you have:

BEGIN_EVENTSINK_MAP(CMyDlg, CDialog)
    //{{AFX_EVENTSINK_MAP(CBrianDlg)
    ON_EVENT(CMyDlg, IDC_EXPLORER, 250 /* BeforeNavigate2 */, OnBeforeNavigate,
             VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PBOOL)
    //}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()
 
void CMyDlg::OnBeforeNavigate(LPDISPATCH pDisp, VARIANT *URL, VARIANT *Flags, VARIANT *Target,
                              VARIANT *PostData, VARIANT *Headers, BOOL *Cancel ) 
{
    ASSERT(V_VT(URL) == VT_BSTR);
    TRACE("Before navigating to %S\n", V_BSTR(URL));
}



"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

"Judge not by the eye but by the heart." - Native American Proverb


AnswerRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
Paul Groetzner8-Aug-06 10:09
Paul Groetzner8-Aug-06 10:09 
GeneralRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
David Crow8-Aug-06 10:48
David Crow8-Aug-06 10:48 
AnswerRe: Using IWebBrowser2 and Navigate. Need help! Thanks! Pin
Paul Groetzner8-Aug-06 10:12
Paul Groetzner8-Aug-06 10:12 
QuestionResizing Floating ToolBars question... Pin
Maximilien8-Aug-06 4:56
Maximilien8-Aug-06 4:56 
QuestionThread control problem, please help! Pin
Yoskie8-Aug-06 4:46
Yoskie8-Aug-06 4:46 
AnswerRe: Thread control problem, please help! Pin
Chris Losinger8-Aug-06 5:35
professionalChris Losinger8-Aug-06 5:35 
GeneralRe: Thread control problem, please help! Pin
Yoskie8-Aug-06 6:20
Yoskie8-Aug-06 6:20 
GeneralRe: Thread control problem, please help! Pin
Chris Losinger8-Aug-06 6:38
professionalChris Losinger8-Aug-06 6:38 
AnswerRe: Thread control problem, please help! Pin
Zac Howland8-Aug-06 9:21
Zac Howland8-Aug-06 9:21 
QuestionMessage Removed Pin
8-Aug-06 4:18
Reza Shademani8-Aug-06 4:18 
AnswerRe: MySql API for C++ [modified] Pin
bob169728-Aug-06 9:27
bob169728-Aug-06 9:27 
AnswerRe: MySql API for C++ Pin
flippydeflippydebop8-Aug-06 20:24
flippydeflippydebop8-Aug-06 20:24 
Questionhow to use _TrackMouseEvent to track mouse movement over a button Pin
Manjunath S8-Aug-06 4:00
Manjunath S8-Aug-06 4:00 
AnswerRe: how to use _TrackMouseEvent to track mouse movement over a button Pin
Viorel.8-Aug-06 4:50
Viorel.8-Aug-06 4:50 
QuestionTCP Port 80 Pin
wrjksdf8-Aug-06 3:47
wrjksdf8-Aug-06 3:47 
AnswerRe: TCP Port 80 Pin
fredsparkle8-Aug-06 4:37
fredsparkle8-Aug-06 4:37 
AnswerRe: TCP Port 80 Pin
wrjksdf8-Aug-06 5:31
wrjksdf8-Aug-06 5:31 

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.