Click here to Skip to main content
15,921,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #include problem Pin
John R. Shaw29-Jul-05 6:36
John R. Shaw29-Jul-05 6:36 
GeneralRe: #include problem Pin
massad29-Jul-05 6:50
massad29-Jul-05 6:50 
GeneralRe: #include problem Pin
John R. Shaw29-Jul-05 7:07
John R. Shaw29-Jul-05 7:07 
GeneralRe: #include problem Pin
Bob Stanneveld29-Jul-05 7:41
Bob Stanneveld29-Jul-05 7:41 
GeneralRe: #include problem Pin
Anacreon29-Jul-05 7:58
Anacreon29-Jul-05 7:58 
GeneralRe: #include problem Pin
David Crow29-Jul-05 8:26
David Crow29-Jul-05 8:26 
GeneralRe: #include problem Pin
sunit529-Jul-05 20:48
sunit529-Jul-05 20:48 
QuestionVC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 5:16
gunrunnerjohn29-Jul-05 5:16 
AnswerRe: VC++ 2003 NET apps without NET installed? Pin
S. Senthil Kumar29-Jul-05 5:22
S. Senthil Kumar29-Jul-05 5:22 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 5:40
gunrunnerjohn29-Jul-05 5:40 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
Trollslayer29-Jul-05 12:33
mentorTrollslayer29-Jul-05 12:33 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
GuoChunLiang29-Jul-05 17:14
GuoChunLiang29-Jul-05 17:14 
GeneralSolved: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn30-Jul-05 7:58
gunrunnerjohn30-Jul-05 7:58 
AnswerRe: VC++ 2003 NET apps without NET installed? Pin
McClamm29-Jul-05 5:49
McClamm29-Jul-05 5:49 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 7:33
gunrunnerjohn29-Jul-05 7:33 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
Judah Gabriel Himango29-Jul-05 8:14
sponsorJudah Gabriel Himango29-Jul-05 8:14 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 8:30
gunrunnerjohn29-Jul-05 8:30 
Generalline printing charset Pin
Anonymous (scp)29-Jul-05 4:56
sussAnonymous (scp)29-Jul-05 4:56 
GeneralRe: line printing charset Pin
Blake Miller29-Jul-05 5:29
Blake Miller29-Jul-05 5:29 
GeneralCDialog derived Child Pin
23_44429-Jul-05 3:19
23_44429-Jul-05 3:19 
GeneralRe: CDialog derived Child Pin
Blake Miller29-Jul-05 4:56
Blake Miller29-Jul-05 4:56 
GeneralRe: CDialog derived Child Pin
23_44429-Jul-05 5:49
23_44429-Jul-05 5:49 
GeneralRe: CDialog derived Child Pin
David Crow29-Jul-05 8:33
David Crow29-Jul-05 8:33 
GeneralRe: CDialog derived Child Pin
Anonymous29-Jul-05 8:39
Anonymous29-Jul-05 8:39 
GeneralRe: CDialog derived Child Pin
David Crow29-Jul-05 9:22
David Crow29-Jul-05 9:22 
Anonymous wrote:
I found something that didn't work and wanted to know why.

Really? When I read your post, it's easy to come away with a different impression. Consider, "I'm trying to drive a nail into a board with a hammer. Now understand everything works as it should with the nail. Switch that to a screw instead and I get problems. What is wrong?" Or, "I'm trying to drive my car with round tires. Now understand everything works as it should with the round tires. Switch that to out-of-round tires instead and I get problems. What is wrong?" See the confusion?

Anonymous wrote:
I really hoped people wouldn't constantly ask why I want to do this or that. My question was not a should or shouldn't but rather a why.

While I certainly understand and applaud your situation, what I have found over the years is that when folks get stuck and ask for help, it is usually because they are doing something wrong (at the design level) that should never have been done to begin with. This is especially true with MFC. Most folks, especially new ones, have no idea what MFC is doing behind the scenes. They've learned it from the outside-in rather than from the inside-out. Knowing what the underlying Win32 SDK is actually doing is very important in making a successful application. Consequently they make erroneous assumptions (e.g., "But I thought message maps worked this way."), thus leading to a situation where they are trying to solve a problem that was doomed from the start.

That said, MSDN clearly states:

Do not use the WS_CHILD style with a modal dialog box. The DialogBox function always disables the parent/owner of the newly created dialog box. When a parent window is disabled, its child windows are implicitly disabled. Since the parent window of the child-style dialog box is disabled, the child-style dialog box is too.


"One must learn from the bite of the fire to leave it alone." - Native American Proverb


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.