Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to find - which area of Window made "invalid" ? Pin
Prakash Nadar1-Apr-04 22:44
Prakash Nadar1-Apr-04 22:44 
GeneralRe: How to find - which area of Window made "invalid" ? Pin
vgrigor1-Apr-04 22:49
vgrigor1-Apr-04 22:49 
GeneralRe: How to find - which area of Window made "invalid" ? Pin
Prakash Nadar1-Apr-04 22:53
Prakash Nadar1-Apr-04 22:53 
GeneralRe: How to find - which area of Window made "invalid" ? Pin
vgrigor1-Apr-04 23:04
vgrigor1-Apr-04 23:04 
GeneralRe: How to find - which area of Window made "invalid" ? Pin
Prakash Nadar1-Apr-04 23:15
Prakash Nadar1-Apr-04 23:15 
GeneralRe: How to find - which area of Window made "invalid" ? Pin
vgrigor1-Apr-04 23:19
vgrigor1-Apr-04 23:19 
AnswerRe: How to find - which area of Window made "invalid" ? Pin
Mike Dimmick2-Apr-04 1:32
Mike Dimmick2-Apr-04 1:32 
Generalget_LocationURL function returns empty string Pin
Abhi Lahare1-Apr-04 19:45
Abhi Lahare1-Apr-04 19:45 
Hi ALL,
I want to retrive the URL of the currently displayed page for that I am using the following code
in SetSite() function:
<br />
SetSite() <br />
{<br />
CComBSTR bstrURL;<br />
hr = GetSite(IID_IServiceProvider, (void**)&spSrvProv);<br />
<br />
hr = spSrvProv->QueryService(SID_SWebBrowserApp,IID_IWebBrowser2,<br />
		(void**)&spWebBrowser);<br />
		<br />
if (FAILED(spWebBrowser->get_LocationURL(&bstrURL)))<br />
	return false;<br />
}<br />

But the contains of bstrURL is emtpy. where I am making a mistake?

Also want to know when Setsite function is invoked before or After loading the page,
When debugged its my guess that it is called before loading the page,
if this is the case how i can get the URL?


Can anyone please help me.

Thanks in Advance.
AL
QuestionHow to display a bitmap file using CBitmap class? Pin
P_JAYAPRAKASH1-Apr-04 19:08
P_JAYAPRAKASH1-Apr-04 19:08 
AnswerRe: How to display a bitmap file using CBitmap class? Pin
VulcanYang1-Apr-04 19:24
VulcanYang1-Apr-04 19:24 
AnswerRe: How to display a bitmap file using CBitmap class? Pin
Member 9541232-Apr-04 2:07
Member 9541232-Apr-04 2:07 
Generalpass through two level http proxy Pin
handle_cn1-Apr-04 18:34
handle_cn1-Apr-04 18:34 
Generalchar to Int conversion Pin
CNewbie1-Apr-04 17:50
CNewbie1-Apr-04 17:50 
GeneralRe: char to Int conversion Pin
alex12051-Apr-04 19:42
alex12051-Apr-04 19:42 
GeneralMemory Device context Pin
Member 9541231-Apr-04 17:39
Member 9541231-Apr-04 17:39 
GeneralRe: Memory Device context Pin
Prakash Nadar1-Apr-04 22:48
Prakash Nadar1-Apr-04 22:48 
GeneralRe: Memory Device context Pin
Member 9541232-Apr-04 1:59
Member 9541232-Apr-04 1:59 
GeneralRe: Memory Device context Pin
John R. Shaw2-Apr-04 10:57
John R. Shaw2-Apr-04 10:57 
GeneralVisual c++ 6.0 bitmap moving Pin
Dimenser1-Apr-04 17:00
Dimenser1-Apr-04 17:00 
GeneralRe: Visual c++ 6.0 bitmap moving Pin
John R. Shaw2-Apr-04 11:10
John R. Shaw2-Apr-04 11:10 
Generalclosing a messagebox window Pin
bryce1-Apr-04 16:47
bryce1-Apr-04 16:47 
GeneralRe: closing a messagebox window Pin
Shog91-Apr-04 17:23
sitebuilderShog91-Apr-04 17:23 
GeneralRe: closing a messagebox window Pin
bryce1-Apr-04 17:28
bryce1-Apr-04 17:28 
GeneralRe: closing a messagebox window Pin
Shog91-Apr-04 17:37
sitebuilderShog91-Apr-04 17:37 
GeneralError C2440 on porting from VC6 to VC++.NET Pin
DionChen1-Apr-04 16:26
DionChen1-Apr-04 16:26 

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.