Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I'd first like to say that this website and you people who help me out are amazing and wonderful, and I'm thankful for you. Well, the program I'm making is a report generator for doctors. Basically, the visual part for the user will be kinda like Microsoft Publisher. They can make squares, rectangles, and lines, each with whatever thickness or color, and the shapes will have borders and frames. Plus, there'll of course be text boxes. The reason I want to change how I'm doing it is: if I have to plan ahead for ANY possible way someone might want to use this, I'd have to setup at least like 10 of each type of thing from the get go, which I'm assuming uses more overhead than would be good. But, then what if they want 11 text boxes, or 11 ovals? Well, maybe I should create 20 of each? See the issue, there? So, I figured that a dynamic way of creating them would be better, so I'm only using the space needed for what the user wants, and they can create as many whatevers as they so desire.

A question: CStatic m_Statics[1000];

Wouldn't that use a ton of memory, or is there really no way to avoid it? Is this an stl vector? Or is that something different?

halblonious
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 
GeneralRe: IP Address Pin
David Crow18-Nov-03 7:24
David Crow18-Nov-03 7:24 
GeneralRe: IP Address Pin
Member 57135818-Nov-03 12:03
Member 57135818-Nov-03 12:03 
GeneralRe: IP Address Pin
David Crow18-Nov-03 14:22
David Crow18-Nov-03 14:22 
GeneralRe: IP Address Pin
Member 57135818-Nov-03 19:08
Member 57135818-Nov-03 19:08 
GeneralRe: IP Address Pin
boxban18-Nov-03 16:18
boxban18-Nov-03 16:18 

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.