Click here to Skip to main content
15,913,145 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ParseCommandLine Pin
Scott H. Settlemier7-Mar-03 5:41
Scott H. Settlemier7-Mar-03 5:41 
Generalstatic variable Pin
Anthony98876-Mar-03 15:27
Anthony98876-Mar-03 15:27 
GeneralRe: static variable Pin
Christian Graus6-Mar-03 15:40
protectorChristian Graus6-Mar-03 15:40 
GeneralFindResource() problem Pin
Salvador Dali6-Mar-03 14:41
Salvador Dali6-Mar-03 14:41 
GeneralRe: FindResource() problem Pin
Dave Bryant6-Mar-03 14:56
Dave Bryant6-Mar-03 14:56 
GeneralRe: FindResource() problem Pin
Salvador Dali6-Mar-03 18:20
Salvador Dali6-Mar-03 18:20 
GeneralRe: FindResource() problem Pin
Blake Miller7-Mar-03 9:23
Blake Miller7-Mar-03 9:23 
QuestionHow would i add a file to a SDI? Pin
Colin Davidson6-Mar-03 14:06
Colin Davidson6-Mar-03 14:06 
hi there, i'm new to this place and Visual C++, so bear with me if i don't ask this clearly....

basically...
i have an SDI based on the form type (so effectively it's a dialog with saving).

I have a tree structure forming, where each node will represent a different version of a file. What i want to do is drag a file, or open a dialog or whatever and add the details to this tree.

I think i know how to store the details, serializing classes and things, it's just getting the information for the file. Preferably i would want to copy the file to it's own subdirectory too...

so to summarise I'd like the following but am unsure on file handling.
NOTE: I'm not talking the file handling as in saving the SDI... i mean dragging a file into the dialog.

The tree would look something like this:

test.txt-
|-Version 1.0
|-Version 1.1
|-Version 1.2

The node would point to an object which needs to contain the file location and other attributes.

For simpleness the file location would be a subdirectory called "version 1.x" from where the SDI document is located...


Hope i'm not asking too much
Just a few pointers on this kind of file handling would be great - i'm not neccaserily asking for a complete solution Big Grin | :-D

Thanks very Much

Colin Davidson
AnswerRe: How would i add a file to a SDI? Pin
valikac6-Mar-03 19:57
valikac6-Mar-03 19:57 
QuestionHow to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 13:46
stanley guan6-Mar-03 13:46 
AnswerRe: How to update the resource in an exe file under Windows 98? Pin
Dave Bryant6-Mar-03 14:57
Dave Bryant6-Mar-03 14:57 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 15:06
stanley guan6-Mar-03 15:06 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
Dave Bryant6-Mar-03 15:12
Dave Bryant6-Mar-03 15:12 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 15:38
stanley guan6-Mar-03 15:38 
QuestionHow do I post a message to a CDocument? Pin
clintsinger6-Mar-03 13:38
clintsinger6-Mar-03 13:38 
AnswerRe: How do I post a message to a CDocument? Pin
Michael Dunn6-Mar-03 13:52
sitebuilderMichael Dunn6-Mar-03 13:52 
GeneralRe: How do I post a message to a CDocument? Pin
clintsinger7-Mar-03 5:51
clintsinger7-Mar-03 5:51 
AnswerRe: How do I post a message to a CDocument? Pin
Steve Mayfield6-Mar-03 15:14
Steve Mayfield6-Mar-03 15:14 
GeneralRe: How do I post a message to a CDocument? Pin
Bartosz Bien7-Mar-03 0:50
Bartosz Bien7-Mar-03 0:50 
QuestionWhat is a DLL and a class? Pin
Anonymous6-Mar-03 12:55
Anonymous6-Mar-03 12:55 
AnswerRe: What is a DLL and a class? Pin
DREVET Olivier6-Mar-03 13:14
DREVET Olivier6-Mar-03 13:14 
AnswerRe: What is a DLL and a class? Pin
Anonymous6-Mar-03 13:25
Anonymous6-Mar-03 13:25 
GeneralRe: What is a DLL and a class? Pin
Nish Nishant6-Mar-03 13:48
sitebuilderNish Nishant6-Mar-03 13:48 
GeneralRe: What is a DLL and a class? Pin
Anonymous6-Mar-03 14:11
Anonymous6-Mar-03 14:11 
GeneralRe: What is a DLL and a class? Pin
Moak6-Mar-03 14:30
Moak6-Mar-03 14:30 

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.