Click here to Skip to main content
15,905,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File Associations Pin
palbano23-Jul-04 8:28
palbano23-Jul-04 8:28 
GeneralRe: File Associations Pin
PJ Arends23-Jul-04 15:08
professionalPJ Arends23-Jul-04 15:08 
GeneralDeclaration question... Pin
drjake23-Jul-04 7:20
drjake23-Jul-04 7:20 
GeneralRe: Declaration question... Pin
palbano23-Jul-04 8:07
palbano23-Jul-04 8:07 
GeneralRe: Declaration question... Pin
drjake23-Jul-04 8:16
drjake23-Jul-04 8:16 
GeneralRe: Declaration question... Pin
palbano23-Jul-04 8:27
palbano23-Jul-04 8:27 
GeneralRe: Declaration question... Pin
drjake23-Jul-04 8:56
drjake23-Jul-04 8:56 
GeneralRe: Declaration question... Pin
Henry miller26-Jul-04 8:21
Henry miller26-Jul-04 8:21 
I suggest you take a step back and re-think your design, now that you have some expirence. I suspect from your description that you have made some mistakes in design.

In programing we often say plan to throw one away, and you have just hit one good reason: until you have something close to working you really don't know what pitfalls you need to design around. Expirence will help, but the only way to get it is to do it wrong.

Without seeing your code I cannot say where (or even if!) you went wrong. However I can tell you that menu driven apps normally do not have excessive variables in one method.

Remember, GUI/MFC apps do not do anything that you cannot do with a command line menu. While you don't want all the complexity those systems provide, learning a little about how they solve your problem can help you figure out how to solve it.

As for your switch in a switch: generally that is a good place for a function call, if you haven't done that already.
GeneralRe: Declaration question... Pin
Ravi Bhavnani23-Jul-04 8:54
professionalRavi Bhavnani23-Jul-04 8:54 
QuestionError Registering DLL but not .EXE ?? Pin
Pradhip23-Jul-04 6:55
Pradhip23-Jul-04 6:55 
AnswerRe: Error Registering DLL but not .EXE ?? Pin
Chris Losinger23-Jul-04 9:25
professionalChris Losinger23-Jul-04 9:25 
GeneralUpdateAllViews() and Multi-Thread Pin
Danny Gilbert23-Jul-04 6:07
Danny Gilbert23-Jul-04 6:07 
GeneralRe: UpdateAllViews() and Multi-Thread Pin
vcplusplus23-Jul-04 7:21
vcplusplus23-Jul-04 7:21 
GeneralCFile question Pin
Shay Harel23-Jul-04 5:53
Shay Harel23-Jul-04 5:53 
GeneralRe: CFile question Pin
valikac23-Jul-04 6:10
valikac23-Jul-04 6:10 
GeneralRe: CFile question Pin
Shay Harel23-Jul-04 6:19
Shay Harel23-Jul-04 6:19 
GeneralPrinting question .... probably easy! Pin
mike-o23-Jul-04 5:33
mike-o23-Jul-04 5:33 
GeneralRe: Printing question .... probably easy! Pin
PJ Arends23-Jul-04 6:52
professionalPJ Arends23-Jul-04 6:52 
GeneralPossible Memory Leak issues Pin
Sameer Handa23-Jul-04 4:14
Sameer Handa23-Jul-04 4:14 
GeneralRe: Possible Memory Leak issues Pin
palbano23-Jul-04 5:56
palbano23-Jul-04 5:56 
GeneralSingleton with polymorphic classes Pin
kylur23-Jul-04 3:49
kylur23-Jul-04 3:49 
GeneralRe: Singleton with polymorphic classes Pin
palbano23-Jul-04 8:11
palbano23-Jul-04 8:11 
GeneralRe: Singleton with polymorphic classes Pin
kylur24-Jul-04 16:31
kylur24-Jul-04 16:31 
GeneralRe: Singleton with polymorphic classes Pin
palbano25-Jul-04 19:14
palbano25-Jul-04 19:14 
GeneralRe: Singleton with polymorphic classes Pin
Ryan Binns25-Jul-04 18:41
Ryan Binns25-Jul-04 18:41 

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.