Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 7:26
Paul Groetzner9-Aug-06 7:26 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 7:32
Paul Groetzner9-Aug-06 7:32 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 8:20
David Crow9-Aug-06 8:20 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 8:31
Paul Groetzner9-Aug-06 8:31 
QuestionRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 8:41
David Crow9-Aug-06 8:41 
AnswerRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 9:04
Paul Groetzner9-Aug-06 9:04 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow9-Aug-06 9:57
David Crow9-Aug-06 9:57 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 10:29
Paul Groetzner9-Aug-06 10: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 11:16
David Crow9-Aug-06 11:16 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner9-Aug-06 17:57
Paul Groetzner9-Aug-06 17:57 
GeneralRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow10-Aug-06 3:30
David Crow10-Aug-06 3:30 
QuestionRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow10-Aug-06 5:09
David Crow10-Aug-06 5:09 
AnswerRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner10-Aug-06 19:22
Paul Groetzner10-Aug-06 19:22 
AnswerRe: Need help with NewWindow3 and IWebBrowse2 Pin
Paul Groetzner11-Aug-06 9:17
Paul Groetzner11-Aug-06 9:17 
QuestionRe: Need help with NewWindow3 and IWebBrowse2 Pin
David Crow11-Aug-06 9:25
David Crow11-Aug-06 9:25 
QuestionCursor clipped via ClipCursor goes away after right click Pin
rajandpayal9-Aug-06 4:58
rajandpayal9-Aug-06 4:58 
AnswerRe: Cursor clipped via ClipCursor goes away after right click Pin
Michael Dunn9-Aug-06 9:36
sitebuilderMichael Dunn9-Aug-06 9:36 
QuestionHeap allocation from SDRAM Pin
Toni789-Aug-06 4:21
Toni789-Aug-06 4:21 
AnswerRe: Heap allocation from SDRAM Pin
toxcct9-Aug-06 4:34
toxcct9-Aug-06 4:34 
GeneralRe: Heap allocation from SDRAM [modified] Pin
9ine9-Aug-06 5:10
9ine9-Aug-06 5:10 
GeneralRe: Heap allocation from SDRAM Pin
toxcct9-Aug-06 5:16
toxcct9-Aug-06 5:16 
GeneralRe: Heap allocation from SDRAM Pin
Toni789-Aug-06 5:12
Toni789-Aug-06 5:12 
GeneralRe: Heap allocation from SDRAM Pin
Rick York9-Aug-06 6:59
mveRick York9-Aug-06 6:59 
GeneralRe: Heap allocation from SDRAM Pin
Zac Howland9-Aug-06 5:26
Zac Howland9-Aug-06 5:26 
GeneralRe: Heap allocation from SDRAM Pin
Toni789-Aug-06 5:42
Toni789-Aug-06 5: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.