Click here to Skip to main content
16,005,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: from VC++6 to C++.net Pin
Sumudu Perera9-Apr-02 6:44
Sumudu Perera9-Apr-02 6:44 
GeneralCSplitterWnd and CToolBar Pin
dazinith9-Apr-02 6:02
dazinith9-Apr-02 6:02 
GeneralMicrosoft Paint's toolbar. Pin
kursatkaraca9-Apr-02 5:56
kursatkaraca9-Apr-02 5:56 
GeneralAlmost gettin' mad: sockaddr_in Pin
User 66589-Apr-02 5:19
User 66589-Apr-02 5:19 
GeneralRe: Almost gettin' mad: sockaddr_in Pin
Joaquín M López Muñoz9-Apr-02 7:55
Joaquín M López Muñoz9-Apr-02 7:55 
GeneralThanks!!! Pin
User 66589-Apr-02 8:03
User 66589-Apr-02 8:03 
GeneralMultiDocument And MultView (and per document) :: MFC Pin
valikac9-Apr-02 5:05
valikac9-Apr-02 5:05 
GeneralRe: MultiDocument And MultView (and per document) :: MFC Pin
l a u r e n9-Apr-02 5:28
l a u r e n9-Apr-02 5:28 
hi
you add a new doctemplate in your InitInstance() function of your app class just like app wizard does for the first one:

pDocTemplate = new CMultiDocTemplate(
IDR_TXTDOCS,
RUNTIME_CLASS(CTxtDoc),
RUNTIME_CLASS(CTxtFrame),
RUNTIME_CLASS(CTxtView));
m_pTxtTemplate = pDocTemplate;
AddDocTemplate(pDocTemplate);

then you can create new docs/views of the reqd type in response to the user doing whatever

brief i know but i quit smoking 6 days ago so forgive me

*gnash gnash gnash*
Suspicious | :suss:

---
"all's fair in love and war but in love there is no geneva convention"
GeneralRe: MultiDocument And MultView (and per document) :: MFC Pin
Roger Allen9-Apr-02 5:31
Roger Allen9-Apr-02 5:31 
GeneralRe: Like this? Pin
valikac9-Apr-02 16:01
valikac9-Apr-02 16:01 
GeneralRe: SDI or MDI Pin
valikac9-Apr-02 18:35
valikac9-Apr-02 18:35 
GeneralDocument View - Printing Pin
AJ1239-Apr-02 4:58
AJ1239-Apr-02 4:58 
GeneralRe: Document View - Printing Pin
Roger Allen9-Apr-02 5:28
Roger Allen9-Apr-02 5:28 
GeneralPure Virtual Functions Pin
PaulJ9-Apr-02 4:38
PaulJ9-Apr-02 4:38 
GeneralRe: Pure Virtual Functions Pin
Roger Allen9-Apr-02 4:42
Roger Allen9-Apr-02 4:42 
QuestionHow to make my window transparent while dragged (code inside) Pin
John O'Byrne9-Apr-02 4:30
John O'Byrne9-Apr-02 4:30 
AnswerRe: How to make my window transparent while dragged (code inside) Pin
Roger Allen9-Apr-02 4:46
Roger Allen9-Apr-02 4:46 
GeneralRe: How to make my window transparent while dragged (code inside) Pin
John O'Byrne9-Apr-02 4:55
John O'Byrne9-Apr-02 4:55 
GeneralRe: How to make my window transparent while dragged (code inside) Pin
Roger Allen9-Apr-02 5:20
Roger Allen9-Apr-02 5:20 
GeneralRe: How to make my window transparent while dragged (code inside) Pin
John O'Byrne9-Apr-02 5:37
John O'Byrne9-Apr-02 5:37 
General*LPUNKOWN Pin
Braulio Dez9-Apr-02 4:05
Braulio Dez9-Apr-02 4:05 
GeneralRe: *LPUNKOWN Pin
Tim Smith9-Apr-02 4:25
Tim Smith9-Apr-02 4:25 
GeneralRe: *LPUNKOWN Pin
Braulio Dez9-Apr-02 4:45
Braulio Dez9-Apr-02 4:45 
GeneralRe: *LPUNKOWN Pin
Niklas L9-Apr-02 4:35
Niklas L9-Apr-02 4:35 
GeneralRe: *LPUNKOWN Pin
Braulio Dez9-Apr-02 4:50
Braulio Dez9-Apr-02 4:50 

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.