Archived

This topic is now archived and is closed to further replies.

Yanroy

Nothing Displays with MFC Dialog App

Recommended Posts

Yanroy    122
I just created a new MFC dialog app. To the best of my knowledge, all I''ve done is edit the dialog resource, no code. Yet nothing displays when the program runs. It apparently quits instantly. As a test, I created a new project with identical setting and compiled it without changing a thing, and it correctly displays the example dialog box. Any ideas on what caused this and how I can fix it? Thanks. --------------------

You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor

Yanroy@usa.com

Share this post


Link to post
Share on other sites
Yanroy    122
I hate to post in my own topic just so it will go back to the top of the list, but I really desperately need an answer... this is what the Army is paying me to code! I''m at a loss as to why my wonderful little dialog doesn''t so much as flash on the screen. Sorry.

--------------------


You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming

You are unique. Just like everybody else.

"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor

Yanroy@usa.com

Share this post


Link to post
Share on other sites
Ranthalion    122
I know this might sound dumb, but it''s the only thing I can think of. Did you add your resource.h or whatever you called it to your project? I''m assuming you are using MSVC++.

Share this post


Link to post
Share on other sites
Yanroy    122
Heh... I figured out what the problem was while I was waiting for this thread to load so I could see the reply... I was using a RichEdit control and forgot to call the silly rich edit init function.

--------------------


You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming

You are unique. Just like everybody else.

"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor

Yanroy@usa.com

Share this post


Link to post
Share on other sites