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

C / C++ / MFC

 
Questionloading active-x control(ocx) at runtime. Pin
pv_pravin20-Nov-06 0:14
pv_pravin20-Nov-06 0:14 
AnswerRe: loading active-x control(ocx) at runtime. Pin
Cedric Moonen20-Nov-06 1:40
Cedric Moonen20-Nov-06 1:40 
GeneralRe: loading active-x control(ocx) at runtime. Pin
TClarke20-Nov-06 3:12
TClarke20-Nov-06 3:12 
GeneralRe: loading active-x control(ocx) at runtime. Pin
Cedric Moonen20-Nov-06 4:25
Cedric Moonen20-Nov-06 4:25 
GeneralRe: loading active-x control(ocx) at runtime. Pin
TClarke20-Nov-06 4:52
TClarke20-Nov-06 4:52 
GeneralRe: loading active-x control(ocx) at runtime. Pin
pv_pravin20-Nov-06 17:58
pv_pravin20-Nov-06 17:58 
GeneralRe: loading active-x control(ocx) at runtime. Pin
pv_pravin20-Nov-06 17:52
pv_pravin20-Nov-06 17:52 
GeneralRe: loading active-x control(ocx) at runtime. Pin
TClarke21-Nov-06 1:40
TClarke21-Nov-06 1:40 
Hi
Right then...
In order for your app to be able to behave as a container you'll have to have selected Container on the Compound Document Support form when you created your app (or you'll have to set the framework up your self). You'll also have to have a Doc/view architecture but I believe you already mentioned you were using one

One the project is created you'll find a method called OnInsertObject in your view class. If you follow the help files you'll probably be fine from here on, just remember that it's all about the IDispatch interface. If your not sure what that is you'll certainly make your life easier if you look into it.

All the best

Tom

QuestionService app Pin
Sunil P V20-Nov-06 0:00
Sunil P V20-Nov-06 0:00 
AnswerRe: Service app Pin
David Crow20-Nov-06 2:47
David Crow20-Nov-06 2:47 
QuestionCTreeCtrl related problem Pin
harsha_123419-Nov-06 23:57
harsha_123419-Nov-06 23:57 
AnswerRe: CTreeCtrl related problem Pin
Mila02520-Nov-06 2:15
Mila02520-Nov-06 2:15 
AnswerRe: CTreeCtrl related problem Pin
Parthi_Appu20-Nov-06 2:26
Parthi_Appu20-Nov-06 2:26 
QuestionSTL: Assign vector to array Pin
Mr.Brainley19-Nov-06 23:34
Mr.Brainley19-Nov-06 23:34 
AnswerRe: STL: Assign vector to array Pin
Michael Dunn19-Nov-06 23:38
sitebuilderMichael Dunn19-Nov-06 23:38 
GeneralRe: STL: Assign vector to array Pin
Sceptic Mole20-Nov-06 4:45
Sceptic Mole20-Nov-06 4:45 
GeneralRe: STL: Assign vector to array Pin
Stephen Hewitt20-Nov-06 12:26
Stephen Hewitt20-Nov-06 12:26 
QuestionMicrosoft Systems Journal recent issues Pin
sawerr19-Nov-06 23:16
sawerr19-Nov-06 23:16 
AnswerRe: Microsoft Systems Journal recent issues Pin
Steve S20-Nov-06 2:42
Steve S20-Nov-06 2:42 
AnswerRe: Microsoft Systems Journal recent issues Pin
David Crow20-Nov-06 2:51
David Crow20-Nov-06 2:51 
GeneralRe: Microsoft Systems Journal recent issues Pin
sawerr20-Nov-06 4:58
sawerr20-Nov-06 4:58 
GeneralRe: Microsoft Systems Journal recent issues Pin
David Crow20-Nov-06 5:08
David Crow20-Nov-06 5:08 
QuestionWNetAddConnection2 Pin
Kiran Pinjala19-Nov-06 23:08
Kiran Pinjala19-Nov-06 23:08 
QuestionRe: WNetAddConnection2 Pin
David Crow20-Nov-06 2:52
David Crow20-Nov-06 2:52 
QuestionRe: WNetAddConnection2 Pin
Mila02520-Nov-06 2:57
Mila02520-Nov-06 2:57 

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.