Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Beginner question using headers Pin
Jacob Dixon7-Nov-09 11:30
Jacob Dixon7-Nov-09 11:30 
GeneralRe: Beginner question using headers Pin
Chris Losinger7-Nov-09 14:37
professionalChris Losinger7-Nov-09 14:37 
GeneralRe: Beginner question using headers Pin
Jacob Dixon7-Nov-09 14:41
Jacob Dixon7-Nov-09 14:41 
GeneralRe: Beginner question using headers Pin
Tim Craig7-Nov-09 21:07
Tim Craig7-Nov-09 21:07 
GeneralRe: Beginner question using headers [modified] Pin
LunaticFringe8-Nov-09 8:49
LunaticFringe8-Nov-09 8:49 
GeneralRe: Beginner question using headers Pin
Chris Losinger8-Nov-09 10:13
professionalChris Losinger8-Nov-09 10:13 
GeneralRe: Beginner question using headers Pin
LunaticFringe8-Nov-09 10:26
LunaticFringe8-Nov-09 10:26 
QuestionGet IExplorerBrowser from a Windows Explorer (Vista) Pin
Ivo Beltchev7-Nov-09 7:35
Ivo Beltchev7-Nov-09 7:35 
Hi
I am developing a band for Windows Explorer and I want to get notified when the current folder changes. Looks like IExplorerBrowser provides the notifications I need, but I can't get that interface in my SetSite function. I can get IShellBrowser:

STDMETHODIMP CExplorerBand::SetSite( IUnknown* pUnkSite )
{
	if(pUnkSite)
	{
		CComQIPtr<IServiceProvider> pProvider=pUnkSite;

		CComPtr<IShellBrowser> pShellBrowser;
		if (pProvider)
			pProvider->QueryService(SID_SShellBrowser,IID_IShellBrowser,(void**)&pShellBrowser);
	}
	return S_OK;
}
But I don't know what to do to get IExplorerBrowser. I tried QueryInterface on pUnkSite and on pShellBrowser. I tried calling QueryService with IID_IExplorerBrowser and different service IDs. Nothing seems to work.

I'm starting to think that IExplorerBrowser is only intended to be used to host an explorer window in your own application because there are many examples how to create a new instance but not how to get an existing instance.

Any ideas?

Thanks
Ivo
QuestionImage in word document Pin
arpanmukherjee17-Nov-09 4:28
arpanmukherjee17-Nov-09 4:28 
AnswerRe: Image in word document Pin
Maximilien7-Nov-09 5:24
Maximilien7-Nov-09 5:24 
GeneralRe: Image in word document Pin
arpanmukherjee17-Nov-09 23:35
arpanmukherjee17-Nov-09 23:35 
GeneralRe: Image in word document Pin
Rajesh R Subramanian8-Nov-09 19:57
professionalRajesh R Subramanian8-Nov-09 19:57 
QuestionHow to join two programes? Pin
Waldemar Ork7-Nov-09 3:33
Waldemar Ork7-Nov-09 3:33 
AnswerRe: How to join two programes? Pin
LunaticFringe7-Nov-09 7:19
LunaticFringe7-Nov-09 7:19 
GeneralRe: How to join two programes? Pin
Waldemar Ork7-Nov-09 8:00
Waldemar Ork7-Nov-09 8:00 
GeneralRe: How to join two programes? Pin
LunaticFringe7-Nov-09 8:42
LunaticFringe7-Nov-09 8:42 
GeneralRe: How to join two programes? Pin
Waldemar Ork8-Nov-09 0:20
Waldemar Ork8-Nov-09 0:20 
GeneralRe: How to join two programes? Pin
Richard Andrew x648-Nov-09 6:55
professionalRichard Andrew x648-Nov-09 6:55 
GeneralRe: How to join two programes? Pin
LunaticFringe8-Nov-09 8:05
LunaticFringe8-Nov-09 8:05 
GeneralRe: How to join two programes? Pin
Waldemar Ork8-Nov-09 9:49
Waldemar Ork8-Nov-09 9:49 
QuestionRe: How to join two programes? Pin
David Crow7-Nov-09 10:06
David Crow7-Nov-09 10:06 
Questionneed information about online courses in vc++ Pin
l_d7-Nov-09 3:01
l_d7-Nov-09 3:01 
AnswerRe: need information about online courses in vc++ Pin
Richard MacCutchan7-Nov-09 4:23
mveRichard MacCutchan7-Nov-09 4:23 
Questiondraw buterfly grahics using c,c++ Pin
aviparida7-Nov-09 1:03
aviparida7-Nov-09 1:03 
AnswerRe: draw buterfly grahics using c,c++ Pin
Richard MacCutchan7-Nov-09 4:32
mveRichard MacCutchan7-Nov-09 4:32 

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.