Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Nested object serialization - probably a newbie question Pin
Peter Molnar19-Nov-03 14:39
Peter Molnar19-Nov-03 14:39 
GeneralCDataGrid Only Certain Colums are available! Pin
vancouver77718-Nov-03 13:43
vancouver77718-Nov-03 13:43 
Generaliptypes.h Pin
Member 57135818-Nov-03 12:51
Member 57135818-Nov-03 12:51 
GeneralRe: iptypes.h Pin
Christian Graus18-Nov-03 13:38
protectorChristian Graus18-Nov-03 13:38 
GeneralRe: iptypes.h Pin
Member 57135818-Nov-03 19:15
Member 57135818-Nov-03 19:15 
GeneralRe: iptypes.h Pin
Christian Graus19-Nov-03 10:24
protectorChristian Graus19-Nov-03 10:24 
GeneralRe: iptypes.h Pin
Member 57135819-Nov-03 21:06
Member 57135819-Nov-03 21:06 
Generallimited dynamic CStatics Pin
halblonious18-Nov-03 9:45
halblonious18-Nov-03 9:45 
So...I want users to be able to create an unlimited number of CStatics dynamically in my program, and save & load them. Right now, I'm just defining 20 of them in OnCreate, then serializing data about those 20 (blank data for those not yet created). My problem is: how do I create dynamically any number of them, yet still have a way of say painting/updating them, or even knowing how to refer to them from a function other than the one in which they were created (my only guess on how to make unlimited is just to have the same variable name for each one as it's created, then store the data, but then I'd have to re-create each one on EVERY update or painting for the user to be able to see all of them? Wouldn't this be a horrible waste of resources?) Or, is there nothing to be done, and I should just define like 200 from the beginning and hope they don't want to go crazy with creating things?

halblonious
GeneralRe: limited dynamic CStatics Pin
Christian Graus18-Nov-03 9:48
protectorChristian Graus18-Nov-03 9:48 
GeneralRe: limited dynamic CStatics Pin
halblonious19-Nov-03 4:15
halblonious19-Nov-03 4:15 
GeneralRe: limited dynamic CStatics Pin
Christian Graus19-Nov-03 10:16
protectorChristian Graus19-Nov-03 10:16 
GeneralRe: limited dynamic CStatics Pin
Peter Molnar19-Nov-03 14:20
Peter Molnar19-Nov-03 14:20 
GeneralRe: limited dynamic CStatics Pin
halblonious20-Nov-03 9:24
halblonious20-Nov-03 9:24 
GeneralRe: limited dynamic CStatics Pin
Peter Molnar20-Nov-03 11:02
Peter Molnar20-Nov-03 11:02 
QuestionProperty Sheet in a CDialogBar - possible? Pin
srev18-Nov-03 9:34
srev18-Nov-03 9:34 
AnswerRe: Property Sheet in a CDialogBar - possible? Pin
Peter Molnar18-Nov-03 12:53
Peter Molnar18-Nov-03 12:53 
GeneralRe: Property Sheet in a CDialogBar - possible? Pin
srev18-Nov-03 13:47
srev18-Nov-03 13:47 
GeneralFile read Pin
Anonymous18-Nov-03 8:42
Anonymous18-Nov-03 8:42 
GeneralRe: File read Pin
Adam Gritt18-Nov-03 8:50
Adam Gritt18-Nov-03 8:50 
GeneralRe: File read Pin
Christian Graus18-Nov-03 9:49
protectorChristian Graus18-Nov-03 9:49 
GeneralModless Dialog access in Console based applications Pin
parekodi18-Nov-03 8:35
parekodi18-Nov-03 8:35 
GeneralRe: Modless Dialog access in Console based applications Pin
Tim Deveaux18-Nov-03 8:58
Tim Deveaux18-Nov-03 8:58 
GeneralRe: Modless Dialog access in Console based applications Pin
parekodi18-Nov-03 9:33
parekodi18-Nov-03 9:33 
GeneralRe: Modless Dialog access in Console based applications Pin
Tim Deveaux18-Nov-03 9:47
Tim Deveaux18-Nov-03 9:47 
GeneralIP Address Pin
Member 57135818-Nov-03 7:06
Member 57135818-Nov-03 7:06 

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.