Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I don't want to close this dialog Pin
Tim Deveaux29-Jul-00 17:22
Tim Deveaux29-Jul-00 17:22 
GeneralRe: I don't want to close this dialog Pin
Sam Hobbs31-Jul-00 18:34
Sam Hobbs31-Jul-00 18:34 
QuestionHow do I isolate MFC in a DLL? Pin
Tomb28-Jul-00 9:45
Tomb28-Jul-00 9:45 
AnswerRe: How do I isolate MFC in a DLL? Pin
Erik Funkenbusch1-Aug-00 19:20
Erik Funkenbusch1-Aug-00 19:20 
GeneralHow: Get all the filenames from Open Dialog Pin
Brian28-Jul-00 6:28
Brian28-Jul-00 6:28 
GeneralRe: How: Get all the filenames from Open Dialog Pin
Mike Dunn28-Jul-00 6:55
Mike Dunn28-Jul-00 6:55 
Generaltypedef struct (?) Pin
Frank Deo28-Jul-00 5:37
Frank Deo28-Jul-00 5:37 
GeneralRe: typedef struct (?) Pin
Mike Dunn28-Jul-00 7:01
Mike Dunn28-Jul-00 7:01 
I don't understand what rtn = StrData.String1(0) means exactly. What is the (0) there for? "String1" isn't an array.

Anyway, to make a typedef'd struct:
typedef struct
{
    CString String1, String2;
} StrData;

To make an array of those, you can use a linked list (since it sounds like you don't know exactly how many structs you'll have). Use std::list<StrData> in STL, or CList<StrData, StrData&> in MFC.
GeneralRe: typedef struct (?) Pin
Frank Deo28-Jul-00 7:59
Frank Deo28-Jul-00 7:59 
GeneralRe: typedef struct (?) Pin
Sam Hobbs31-Jul-00 18:31
Sam Hobbs31-Jul-00 18:31 
GeneralTab control Pin
Roger28-Jul-00 5:35
Roger28-Jul-00 5:35 
GeneralRe: Tab control Pin
Frank Deo28-Jul-00 5:44
Frank Deo28-Jul-00 5:44 
GeneralRe: Tab control Pin
Roger30-Jul-00 9:12
Roger30-Jul-00 9:12 
GeneralRe: Tab control Pin
Frank Deo30-Jul-00 10:13
Frank Deo30-Jul-00 10:13 
GeneralRe: Tab control Pin
ThePilgrim17-Jun-04 20:53
ThePilgrim17-Jun-04 20:53 
GeneralSpell Checking Pin
siva28-Jul-00 4:50
siva28-Jul-00 4:50 
GeneralRe: Spell Checking Pin
Jeremy Davis30-Jul-00 22:14
Jeremy Davis30-Jul-00 22:14 
Generalpostfix operator problem Pin
P e t e r28-Jul-00 1:35
P e t e r28-Jul-00 1:35 
GeneralRe: postfix operator problem Pin
Jon28-Jul-00 1:45
Jon28-Jul-00 1:45 
GeneralRe: postfix operator problem Pin
Mike Dunn28-Jul-00 7:16
Mike Dunn28-Jul-00 7:16 
GeneralScanning a registry folder Pin
xtsea27-Jul-00 22:47
xtsea27-Jul-00 22:47 
GeneralRe: Scanning a registry folder Pin
ldaoust2-Aug-00 9:47
ldaoust2-Aug-00 9:47 
Generala newbie-ish question about windows programming Pin
Jon (is confused)27-Jul-00 20:23
sussJon (is confused)27-Jul-00 20:23 
GeneralRe: a newbie-ish question about windows programming Pin
HP27-Jul-00 20:39
HP27-Jul-00 20:39 
GeneralRe: a newbie-ish question about windows programming Pin
Jon28-Jul-00 5:12
Jon28-Jul-00 5:12 

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.