Click here to Skip to main content
16,012,025 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCButton, BS_BITMAP, LoadImage Issue and Question. Pin
Maximilien13-Jun-06 10:38
Maximilien13-Jun-06 10:38 
QuestionRe: CButton, BS_BITMAP, LoadImage Issue and Question. Pin
David Crow13-Jun-06 10:43
David Crow13-Jun-06 10:43 
QuestionWriteConsole() problem Pin
CoffeeAddict1913-Jun-06 10:00
CoffeeAddict1913-Jun-06 10:00 
QuestionRe: WriteConsole() problem Pin
David Crow13-Jun-06 10:06
David Crow13-Jun-06 10:06 
AnswerRe: WriteConsole() problem Pin
CoffeeAddict1914-Jun-06 5:45
CoffeeAddict1914-Jun-06 5:45 
QuestionRe: WriteConsole() problem Pin
David Crow14-Jun-06 5:52
David Crow14-Jun-06 5:52 
QuestionNewbie needs help generating html files from user input via windows gui [modified] Pin
dstrain13-Jun-06 9:35
dstrain13-Jun-06 9:35 
AnswerRe: Newbie needs help generating html files from user input via windows gui Pin
Mark F.14-Jun-06 4:54
Mark F.14-Jun-06 4:54 
Have you learned about SDI and/or MDI document view architecture yet?

There are several classes that deal with this.

Document Templates:
- CSingleDocTemplate
- CMultiDocTemplate
Views:
- CRichEditView (CRichEdit)
- CEditView (CEdit)
- CHtmlView (WebBrowser control)

Using, for example, the CRichEditView class you can open a file (text) regardless of the extension (.txt,.html,.xml), and load the file in the view. You can then edit it and "save as" a different filename.
    mytmpl.html --> index.html
Using the CDocument class you can programatically save the document as a different name. I wouldn't get too far a head of the class though. You may be learning this near the end of the class anyway.


Mark
Questionlaunching notepad.exe and reading the current date/time Pin
Mahhouraaaaaa13-Jun-06 8:30
Mahhouraaaaaa13-Jun-06 8:30 
AnswerRe: launching notepad.exe and reading the current date/time [modified] Pin
Mark F.13-Jun-06 8:59
Mark F.13-Jun-06 8:59 
AnswerRe: launching notepad.exe and reading the current date/time Pin
Hamid_RT13-Jun-06 19:07
Hamid_RT13-Jun-06 19:07 
AnswerRe: launching notepad.exe and reading the current date/time Pin
Laxman Auti13-Jun-06 19:30
Laxman Auti13-Jun-06 19:30 
QuestionC++ Forum Pin
knoxplusplus13-Jun-06 8:24
knoxplusplus13-Jun-06 8:24 
QuestionHello a problem with Cstring :) Pin
Mahhouraaaaaa13-Jun-06 6:16
Mahhouraaaaaa13-Jun-06 6:16 
AnswerRe: Hello a problem with Cstring :) Pin
Neil Van Eps13-Jun-06 6:17
Neil Van Eps13-Jun-06 6:17 
GeneralRe: Hello a problem with Cstring :) Pin
Mahhouraaaaaa13-Jun-06 6:23
Mahhouraaaaaa13-Jun-06 6:23 
JokeRe: Hello a problem with Cstring :) Pin
Laxman Auti13-Jun-06 19:32
Laxman Auti13-Jun-06 19:32 
QuestionGUID array assignment issue Pin
act_x13-Jun-06 5:51
act_x13-Jun-06 5:51 
Questionaccessing a networked hard drive Pin
69 Bay13-Jun-06 5:50
69 Bay13-Jun-06 5:50 
AnswerRe: accessing a networked hard drive Pin
David Crow13-Jun-06 6:00
David Crow13-Jun-06 6:00 
GeneralRe: accessing a networked hard drive Pin
69 Bay13-Jun-06 6:11
69 Bay13-Jun-06 6:11 
QuestionRe: accessing a networked hard drive Pin
David Crow13-Jun-06 6:16
David Crow13-Jun-06 6:16 
GeneralRe: accessing a networked hard drive Pin
69 Bay13-Jun-06 6:21
69 Bay13-Jun-06 6:21 
AnswerRe: accessing a networked hard drive [modified] Pin
bob1697213-Jun-06 6:06
bob1697213-Jun-06 6:06 
GeneralRe: accessing a networked hard drive Pin
69 Bay13-Jun-06 6:22
69 Bay13-Jun-06 6:22 

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.