Click here to Skip to main content
15,904,823 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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


GeneralRe: CDialog derived Child Pin
23_4443-Aug-05 3:31
23_4443-Aug-05 3:31 
GeneralReading a CSV file Pin
Arrun29-Jul-05 3:13
Arrun29-Jul-05 3:13 
GeneralRe: Reading a CSV file Pin
Marc Soleda29-Jul-05 3:32
Marc Soleda29-Jul-05 3:32 
GeneralRe: Reading a CSV file Pin
Roland Pibinger29-Jul-05 8:43
Roland Pibinger29-Jul-05 8:43 
GeneralRe: Reading a CSV file Pin
Marc Soleda31-Jul-05 19:18
Marc Soleda31-Jul-05 19:18 
GeneralRe: Reading a CSV file Pin
knapak29-Jul-05 11:49
knapak29-Jul-05 11:49 
GeneralRe: Reading a CSV file Pin
Roland Pibinger29-Jul-05 12:24
Roland Pibinger29-Jul-05 12:24 
GeneralRe: Reading a CSV file Pin
knapak29-Jul-05 12:33
knapak29-Jul-05 12:33 
GeneralRe: Reading a CSV file Pin
Roland Pibinger29-Jul-05 23:52
Roland Pibinger29-Jul-05 23:52 
GeneralRe: Reading a CSV file Pin
knapak1-Aug-05 11:41
knapak1-Aug-05 11:41 
GeneralRe: Reading a CSV file Pin
Roland Pibinger6-Aug-05 0:39
Roland Pibinger6-Aug-05 0:39 
Questionhow to convert a directory path to a relative path to another directory Pin
HeartFriend29-Jul-05 2:05
HeartFriend29-Jul-05 2:05 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
rrrado29-Jul-05 2:56
rrrado29-Jul-05 2:56 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
David Crow29-Jul-05 5:38
David Crow29-Jul-05 5:38 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
Jack Puppy29-Jul-05 5:40
Jack Puppy29-Jul-05 5:40 
AnswerRe: how to convert a directory path to a relative path to another directory Pin
HeartFriend31-Jul-05 15:14
HeartFriend31-Jul-05 15:14 
GeneralDate Time Picker Pin
tiniv29-Jul-05 1:41
tiniv29-Jul-05 1: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.