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

C / C++ / MFC

 
AnswerRe: load image Pin
Hamid_RT7-Dec-06 17:50
Hamid_RT7-Dec-06 17:50 
GeneralRe: load image Pin
Sunil P V7-Dec-06 19:02
Sunil P V7-Dec-06 19:02 
GeneralRe: load image Pin
ThatsAlok7-Dec-06 19:23
ThatsAlok7-Dec-06 19:23 
GeneralRe: load image Pin
Hamid_RT8-Dec-06 1:15
Hamid_RT8-Dec-06 1:15 
QuestionScrolling in a SDI project containing ATL COM Servers Pin
Cyber Friend7-Dec-06 0:58
Cyber Friend7-Dec-06 0:58 
QuestionVC++/MFC Pin
amitmistry_petlad 7-Dec-06 0:18
amitmistry_petlad 7-Dec-06 0:18 
AnswerRe: VC++/MFC Pin
Sunil P V7-Dec-06 1:36
Sunil P V7-Dec-06 1:36 
AnswerRe: VC++/MFC Pin
Sam Hobbs7-Dec-06 2:14
Sam Hobbs7-Dec-06 2:14 
There are many details to change to do what you need to do. I hope I understand what you are trying to do. I assume you want to use CFormView.

It is easier to create a new class that is derived from CFormView. Then use that class instead of the class that the wizard generates derived from CView. You can delete the old child view when you are sure you don't need it; you probably won't use it when you have made all the changes.

One place you might need to change is the call to LoadFrame, but I forget the details. I don't use MDI very much so these instructions might need to be modified for MDI; I am trying to do all this from memory so some of what I say might be the SDI way. One modification is that it helps to have a document, so you probably want to create a document class. Then allocate a new instance of the document for every child window. There is probably a LoadFrame or it's equivalent in the child frame window. Then put the address of the document in a CCreateContext and pass the instance of it to LoadFrame.
AnswerRe: VC++/MFC Pin
David Crow7-Dec-06 5:23
David Crow7-Dec-06 5:23 
QuestionDLL Search path while debugging Pin
misha_grewal7-Dec-06 0:18
misha_grewal7-Dec-06 0:18 
AnswerRe: DLL Search path while debugging Pin
Naveen7-Dec-06 0:28
Naveen7-Dec-06 0:28 
QuestionUsing managed code in unmanaged class Pin
priyank_ldce7-Dec-06 0:13
priyank_ldce7-Dec-06 0:13 
AnswerRe: Using managed code in unmanaged class Pin
prasad_som7-Dec-06 2:21
prasad_som7-Dec-06 2:21 
GeneralRe: Using managed code in unmanaged class Pin
ThatsAlok7-Dec-06 19:24
ThatsAlok7-Dec-06 19:24 
GeneralRe: Using managed code in unmanaged class Pin
prasad_som7-Dec-06 19:39
prasad_som7-Dec-06 19:39 
AnswerRe: Using managed code in unmanaged class Pin
S Douglas9-Dec-06 0:40
professionalS Douglas9-Dec-06 0:40 
QuestionSave configuration problem Pin
Julia17-Dec-06 0:10
Julia17-Dec-06 0:10 
QuestionHow can I get handle file from file name? Pin
toeh6-Dec-06 23:47
toeh6-Dec-06 23:47 
AnswerRe: How can I get handle file from file name? Pin
Naveen7-Dec-06 0:48
Naveen7-Dec-06 0:48 
AnswerRe: How can I get handle file from file name? Pin
Sam Hobbs7-Dec-06 2:23
Sam Hobbs7-Dec-06 2:23 
GeneralRe: How can I get handle file from file name? Pin
toeh7-Dec-06 3:28
toeh7-Dec-06 3:28 
GeneralRe: How can I get handle file from file name? Pin
Sam Hobbs7-Dec-06 3:38
Sam Hobbs7-Dec-06 3:38 
GeneralRe: How can I get handle file from file name? Pin
David Crow7-Dec-06 5:34
David Crow7-Dec-06 5:34 
GeneralRe: How can I get handle file from file name? Pin
Hamid_RT7-Dec-06 17:51
Hamid_RT7-Dec-06 17:51 
QuestionAPI for MakeLower of CString Class Pin
Mushtaque Nizamani6-Dec-06 23:36
Mushtaque Nizamani6-Dec-06 23:36 

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.