Click here to Skip to main content
14,736,308 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: class template methods Pin
jon-8010-Aug-06 8:21
professionaljon-8010-Aug-06 8:21 
AnswerRe: class template methods Pin
Zac Howland10-Aug-06 8:41
MemberZac Howland10-Aug-06 8:41 
GeneralRe: class template methods Pin
jon-8010-Aug-06 10:18
professionaljon-8010-Aug-06 10:18 
QuestionNeed help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 6:13
MemberPaul Groetzner9-Aug-06 6:13 
QuestionRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 6:58
MemberDavid Crow9-Aug-06 6:58 
AnswerRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 7:04
MemberPaul Groetzner9-Aug-06 7:04 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 7:51
MemberDavid Crow9-Aug-06 7:51 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 8:03
MemberPaul Groetzner9-Aug-06 8:03 
Didn't seem to make any difference.. Here is my updated code (I hope I made the change you recommended correctly...):

ON_EVENT(CLoadWebSite, IDC_EXPLORER, 273 /* NewWindow3 */, OnNewWindow3Explorer1, VTS_DISPATCH VTS_PBOOL VTS_BSTR VTS_BSTR VTS_BSTR)

void CLoadWebSite::OnNewWindow3Explorer1(LPDISPATCH FAR* ppDisp, BOOL FAR* Cancel, BSTR *Flags, BSTR *URLContext, BSTR *URL)
{
CString url = "";
VARIANT vnt;
vnt.vt = VT_BSTR;
vnt.pbstrVal = URL;
url = vnt.bstrVal;

*Cancel = TRUE;
AfxMessageBox(url);

// Browser.Navigate(url,NULL,NULL,NULL,NULL);
}
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 8:11
MemberDavid Crow9-Aug-06 8:11 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 8:26
MemberPaul Groetzner9-Aug-06 8:26 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 8:32
MemberPaul Groetzner9-Aug-06 8:32 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 9:20
MemberDavid Crow9-Aug-06 9:20 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 9:31
MemberPaul Groetzner9-Aug-06 9:31 
QuestionRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 9:41
MemberDavid Crow9-Aug-06 9:41 
AnswerRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 10:04
MemberPaul Groetzner9-Aug-06 10:04 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 10:57
MemberDavid Crow9-Aug-06 10:57 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 11:29
MemberPaul Groetzner9-Aug-06 11:29 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 12:16
MemberDavid Crow9-Aug-06 12:16 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 18:57
MemberPaul Groetzner9-Aug-06 18:57 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow10-Aug-06 4:30
MemberDavid Crow10-Aug-06 4:30 
QuestionRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow10-Aug-06 6:09
MemberDavid Crow10-Aug-06 6:09 
AnswerRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner10-Aug-06 20:22
MemberPaul Groetzner10-Aug-06 20:22 
AnswerRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner11-Aug-06 10:17
MemberPaul Groetzner11-Aug-06 10:17 
QuestionRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow11-Aug-06 10:25
MemberDavid Crow11-Aug-06 10:25 
QuestionCursor clipped via ClipCursor goes away after right click Pin
rajandpayal9-Aug-06 5:58
Memberrajandpayal9-Aug-06 5:58 

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.