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

C / C++ / MFC

 
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 
I've tried converting the value to CString every which way and it always comes to the same results no matter what, a line of several dozen ? marks.

This is getting quite frustrating Cry | :((

I have to assume then that it may be a problem with BSTR URL not reporting a proper url.

To test the NewWindow3 function I had my default site go to google.com, I searched on a something irrelevant and right-clicked to Open to a new window to trigger the event. In the debugger URL always comes back as a bunch of square shapes (I think because debugger can't display BSTR?, at least there's a doc somewhere on codeproject that said it couldn't, but it might have been for an older version of VS) and converting always results in ? marks...

If you want to test this you can do do very easily by going to this link:
http://www.codeproject.com/com/webbrowser.asp[^]

This is basically something similar to what I have. Just edit the code, change the default site if you wish and add the event for the NewWindow3 compile and have at it to see what you can find...
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 
AnswerRe: Cursor clipped via ClipCursor goes away after right click Pin
Michael Dunn9-Aug-06 10:36
sitebuilderMichael Dunn9-Aug-06 10:36 
QuestionHeap allocation from SDRAM Pin
Toni789-Aug-06 5:21
MemberToni789-Aug-06 5:21 
AnswerRe: Heap allocation from SDRAM Pin
toxcct9-Aug-06 5:34
Membertoxcct9-Aug-06 5:34 
GeneralRe: Heap allocation from SDRAM [modified] Pin
9ine9-Aug-06 6:10
Member9ine9-Aug-06 6:10 
GeneralRe: Heap allocation from SDRAM Pin
toxcct9-Aug-06 6:16
Membertoxcct9-Aug-06 6:16 
GeneralRe: Heap allocation from SDRAM Pin
Toni789-Aug-06 6:12
MemberToni789-Aug-06 6:12 
GeneralRe: Heap allocation from SDRAM Pin
Rick York9-Aug-06 7:59
mveRick York9-Aug-06 7:59 
GeneralRe: Heap allocation from SDRAM Pin
Zac Howland9-Aug-06 6:26
MemberZac Howland9-Aug-06 6:26 
GeneralRe: Heap allocation from SDRAM Pin
Toni789-Aug-06 6:42
MemberToni789-Aug-06 6:42 

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.