Click here to Skip to main content
15,916,432 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can i read + write two files in 1 function? Pin
Nibu babu thomas30-May-06 17:22
Nibu babu thomas30-May-06 17:22 
AnswerRe: Can i read + write two files in 1 function? Pin
Hamid_RT30-May-06 18:32
Hamid_RT30-May-06 18:32 
AnswerRe: Can i read + write two files in 1 function? Pin
Immunity1831-May-06 1:21
Immunity1831-May-06 1:21 
QuestionGDI+ / Antialiased polyline Pin
Andre xxxxxxx30-May-06 10:41
Andre xxxxxxx30-May-06 10:41 
AnswerRe: GDI+ / Antialiased polyline Pin
PJ Arends30-May-06 12:16
professionalPJ Arends30-May-06 12:16 
QuestionFile filter Pin
Luksky30-May-06 10:39
Luksky30-May-06 10:39 
AnswerRe: File filter Pin
Steve Echols30-May-06 13:54
Steve Echols30-May-06 13:54 
GeneralRe: File filter Pin
Luksky6-Jun-06 1:28
Luksky6-Jun-06 1:28 
So I only have to make my own class (document template) derived from CMultiDocTemplate, use it like here:
pDocTemplate = new CMyMultiDocTemplate(<br />
    IDR_CONTEXTTYPE,<br />
    RUNTIME_CLASS(CMyDoc),<br />
    RUNTIME_CLASS(CChildFrame), // custom MDI child frame<br />
    RUNTIME_CLASS(CMyView));<br />
AddDocTemplate(pDocTemplate);

and then override function DoPromptFileName() in this class? Or is there anything more to do?

And how can I use my own filter string in DoPromptFileName()? I don't know how to do this.

Thanks for any help. Smile | :)

~~~~
QuestionProblem with CSocket Pin
masnu30-May-06 8:49
masnu30-May-06 8:49 
AnswerRe: Problem with CSocket Pin
Zac Howland30-May-06 10:35
Zac Howland30-May-06 10:35 
QuestionCListCtrl ownder draw checkbox problem Pin
YaronNir30-May-06 8:24
YaronNir30-May-06 8:24 
AnswerRe: CListCtrl ownder draw checkbox problem Pin
Laxman Auti30-May-06 18:33
Laxman Auti30-May-06 18:33 
GeneralRe: CListCtrl ownder draw checkbox problem Pin
YaronNir30-May-06 20:29
YaronNir30-May-06 20:29 
QuestionDo you know how can I use Windows Media Player ActiveX control VC++ 2005??? [modified] Pin
high30-May-06 7:47
high30-May-06 7:47 
QuestionSave last dialog confiuguration MFC Pin
celllllllll30-May-06 7:38
celllllllll30-May-06 7:38 
AnswerRe: Save last dialog confiuguration MFC Pin
Hamid_RT30-May-06 8:02
Hamid_RT30-May-06 8:02 
GeneralRe: Save last dialog confiuguration MFC Pin
celllllllll30-May-06 9:09
celllllllll30-May-06 9:09 
GeneralRe: Save last dialog confiuguration MFC Pin
Zac Howland30-May-06 10:19
Zac Howland30-May-06 10:19 
AnswerRe: Save last dialog confiuguration MFC Pin
Laxman Auti30-May-06 18:39
Laxman Auti30-May-06 18:39 
QuestionSendMessage isnt quite working [modified] Pin
Ista30-May-06 7:22
Ista30-May-06 7:22 
AnswerRe: SendMessage isnt quite working Pin
PJ Arends30-May-06 8:22
professionalPJ Arends30-May-06 8:22 
GeneralRe: SendMessage isnt quite working Pin
Ista30-May-06 9:12
Ista30-May-06 9:12 
AnswerRe: SendMessage isnt quite working [modified] Pin
Eric Dahlvang30-May-06 8:46
Eric Dahlvang30-May-06 8:46 
Questiondisable auto-complete in dropdown [modified] Pin
elephantstar30-May-06 6:10
elephantstar30-May-06 6:10 
AnswerRe: disable auto-complete in dropdown [modified] Pin
valikac30-May-06 6:45
valikac30-May-06 6:45 

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.