Click here to Skip to main content
15,906,333 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: string to hex number Pin
Stuart Dootson1-Mar-09 21:26
professionalStuart Dootson1-Mar-09 21:26 
AnswerRe: string to hex number Pin
CPallini1-Mar-09 22:49
mveCPallini1-Mar-09 22:49 
AnswerRe: string to hex number Pin
cmk2-Mar-09 8:46
cmk2-Mar-09 8:46 
QuestionCut the wmv movie Using Directshow editing services Pin
raj15761-Mar-09 19:37
raj15761-Mar-09 19:37 
Questionmultilingual support Pin
Varun Bhatt1-Mar-09 19:30
Varun Bhatt1-Mar-09 19:30 
AnswerRe: multilingual support Pin
Hamid_RT1-Mar-09 19:57
Hamid_RT1-Mar-09 19:57 
Question2 Doc & 2 Views. Pin
grassrootkit1-Mar-09 19:26
grassrootkit1-Mar-09 19:26 
AnswerRe: 2 Doc & 2 Views. Pin
Stuart Dootson1-Mar-09 21:37
professionalStuart Dootson1-Mar-09 21:37 
Leave it as an SDI app.

Have a 'composite document' type that represents the two documents as a single document (as far as MFC is concerned, it's a single document).

Have a single File->Open command that ensures two documents are opened to make a valid composite (the composite needs two documents, remember) but (if you want) have a UI that allows the user to open a document to replace one of the documents in the composite.

This way, you are retaining the single document<->view relationship that an MFC SDI app is built upon.

And yes, I've done this, for a tool I wrote that could either plot a file of data, or plot two files of data so that you got variables of the same name plotted on the same graph.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: 2 Doc & 2 Views. Pin
grassrootkit1-Mar-09 22:40
grassrootkit1-Mar-09 22:40 
GeneralRe: 2 Doc & 2 Views. Pin
Stuart Dootson1-Mar-09 23:12
professionalStuart Dootson1-Mar-09 23:12 
GeneralRe: 2 Doc & 2 Views. Pin
grassrootkit1-Mar-09 23:38
grassrootkit1-Mar-09 23:38 
QuestionC question about Split and remove substring Pin
nyc_6801-Mar-09 19:04
nyc_6801-Mar-09 19:04 
AnswerRe: C question about Split and remove substring Pin
Nishad S1-Mar-09 19:16
Nishad S1-Mar-09 19:16 
GeneralRe: C question about Split and remove substring Pin
nyc_6801-Mar-09 19:45
nyc_6801-Mar-09 19:45 
AnswerRe: C question about Split and remove substring Pin
sam_psycho1-Mar-09 20:01
sam_psycho1-Mar-09 20:01 
QuestionUnable to create SAFEARRAY Pin
pandit841-Mar-09 18:56
pandit841-Mar-09 18:56 
AnswerRe: Unable to create SAFEARRAY Pin
Stuart Dootson1-Mar-09 21:48
professionalStuart Dootson1-Mar-09 21:48 
GeneralRe: Unable to create SAFEARRAY Pin
pandit841-Mar-09 23:04
pandit841-Mar-09 23:04 
Questionreading audio file properties like artist,genre,album etc using VC++ 6 Pin
punav1-Mar-09 18:08
punav1-Mar-09 18:08 
AnswerRe: reading audio file properties like artist,genre,album etc using VC++ 6 Pin
«_Superman_»1-Mar-09 18:19
professional«_Superman_»1-Mar-09 18:19 
QuestionRe: reading audio file properties like artist,genre,album etc using VC++ 6 [modified] Pin
punav1-Mar-09 18:35
punav1-Mar-09 18:35 
AnswerRe: reading audio file properties like artist,genre,album etc using VC++ 6 Pin
Ken Mazaika1-Mar-09 18:22
Ken Mazaika1-Mar-09 18:22 
AnswerRe: reading audio file properties like artist,genre,album etc using VC++ 6 Pin
Jijo.Raj1-Mar-09 19:11
Jijo.Raj1-Mar-09 19:11 
QuestionHandle Show Desktop in MFC. Pin
Le@rner1-Mar-09 18:02
Le@rner1-Mar-09 18:02 
AnswerRe: Handle Show Desktop in MFC. Pin
grassrootkit1-Mar-09 20:13
grassrootkit1-Mar-09 20:13 

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.