Click here to Skip to main content
16,005,141 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: STL Tree ? Pin
Nick Parker11-Dec-02 9:37
protectorNick Parker11-Dec-02 9:37 
GeneralRe: STL Tree ? Pin
Todd Smith12-Dec-02 11:36
Todd Smith12-Dec-02 11:36 
AnswerRe: STL Tree ? Pin
Paul M Watt13-Dec-02 5:26
mentorPaul M Watt13-Dec-02 5:26 
AnswerRe: STL Tree ? Pin
Jörgen Sigvardsson14-Dec-02 10:57
Jörgen Sigvardsson14-Dec-02 10:57 
QuestionHow do I raise events. Pin
acosmin11-Dec-02 3:15
acosmin11-Dec-02 3:15 
AnswerRe: How do I raise events. Pin
xi90412-Dec-02 2:07
xi90412-Dec-02 2:07 
GeneralSetSite Pin
suresh_sathya11-Dec-02 1:09
suresh_sathya11-Dec-02 1:09 
QuestionHow to use m_spClientSite Pin
hdi99kf@syd.kth.se6-Dec-02 2:42
hdi99kf@syd.kth.se6-Dec-02 2:42 
Hello.

I have an ActiveX control which I run in Internet Explorer. I want to be able to do some

changes it the html when the control is closed.

I have seen a code example on MSDN:

// Get the document.<br />
CComPtr<IOleContainer> spContainer; <br />
m_spClientSite->GetContainer(&spContainer); <br />
CComQIPtr<IHTMLDocument2, &IID_IHTMLDocument2> spDoc(spContainer); <br />
if (spDoc)<br />
    spDoc->put_bgColor(CComBSTR(_T("pink")));


My problem is I don't know how to obtain the member variable m_spClientSite. Do I have to

implement an interface to use this variable? I tried to include <atlctl.h> but that gave me

a lot of errors.

Any help is greatly appriciated.

Thanks in advance.

/Charlie.
AnswerRe: How to use m_spClientSite Pin
geo_m6-Dec-02 5:25
geo_m6-Dec-02 5:25 
GeneralRe: How to use m_spClientSite Pin
Anonymous6-Dec-02 6:57
Anonymous6-Dec-02 6:57 
GeneralRe: How to use m_spClientSite Pin
geo_m6-Dec-02 8:39
geo_m6-Dec-02 8:39 
QuestionSTL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 15:50
professionalChris Losinger5-Dec-02 15:50 
AnswerRe: STL Q : find_if = poop. any better? Pin
Taka Muraoka5-Dec-02 16:07
Taka Muraoka5-Dec-02 16:07 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 18:27
professionalChris Losinger5-Dec-02 18:27 
GeneralRe: STL Q : find_if = poop. any better? Pin
Taka Muraoka5-Dec-02 18:42
Taka Muraoka5-Dec-02 18:42 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 19:23
professionalChris Losinger5-Dec-02 19:23 
GeneralRe: STL Q : find_if = poop. any better? Pin
markkuk7-Dec-02 2:15
markkuk7-Dec-02 2:15 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger7-Dec-02 13:28
professionalChris Losinger7-Dec-02 13:28 
AnswerRe: STL Q : find_if = poop. any better? Pin
Nick Parker5-Dec-02 17:12
protectorNick Parker5-Dec-02 17:12 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger5-Dec-02 18:08
professionalChris Losinger5-Dec-02 18:08 
GeneralRe: STL Q : find_if = poop. any better? Pin
Tim Smith6-Dec-02 2:25
Tim Smith6-Dec-02 2:25 
GeneralRe: STL Q : find_if = poop. any better? Pin
Todd Smith12-Dec-02 11:45
Todd Smith12-Dec-02 11:45 
GeneralRe: STL Q : find_if = poop. any better? Pin
Chris Losinger12-Dec-02 12:46
professionalChris Losinger12-Dec-02 12:46 
GeneralATL server multiple instances Pin
Sébastien Lescure4-Dec-02 12:03
sussSébastien Lescure4-Dec-02 12:03 
GeneralRe: ATL server multiple instances Pin
Vi25-Dec-02 4:56
Vi25-Dec-02 4:56 

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.