Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple as Pie! Pin
Prakash Nadar18-Jan-06 3:53
Prakash Nadar18-Jan-06 3:53 
GeneralRe: Simple as Pie! Pin
toxcct18-Jan-06 4:00
toxcct18-Jan-06 4:00 
GeneralRe: Simple as Pie! Pin
Prakash Nadar18-Jan-06 4:03
Prakash Nadar18-Jan-06 4:03 
GeneralRe: Simple as Pie! Pin
Rajesh R Subramanian18-Jan-06 16:58
professionalRajesh R Subramanian18-Jan-06 16:58 
GeneralRe: Simple as Pie! Pin
Stephen Hewitt18-Jan-06 11:21
Stephen Hewitt18-Jan-06 11:21 
GeneralRe: Simple as Pie! Pin
Prakash Nadar18-Jan-06 14:50
Prakash Nadar18-Jan-06 14:50 
GeneralRe: Simple as Pie! Pin
Stephen Hewitt18-Jan-06 14:55
Stephen Hewitt18-Jan-06 14:55 
GeneralRe: Simple as Pie! Pin
Rajesh R Subramanian18-Jan-06 16:54
professionalRajesh R Subramanian18-Jan-06 16:54 
I knew this other solution well before I had posted the PreTranslateMessage handling solution. But it will just change the functionality of OnCancel() too. If i write my code in OnCancel(), not to close, then on clicking the cancel button too, the dialog won't close. Don't tell me you did not know this please. I might want to do something else on OnOk() too. Handling the pretranslatemessage is not a big job. And its powerful than any other way when you work with MFC. I cannot think of any other easier and powerful way to do this. If you know something else which is REALLY APPROPRIATE and RELEVANT, please let us know too. Thanks in advance.

Regards,
Rajesh R. Subramanian

You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.

GeneralRe: Simple as Pie! Pin
Prakash Nadar18-Jan-06 17:36
Prakash Nadar18-Jan-06 17:36 
GeneralRe: Simple as Pie! Pin
<color>Aljechin 18-Jan-06 17:48
<color>Aljechin 18-Jan-06 17:48 
GeneralRe: Simple as Pie! Pin
Rajesh R Subramanian18-Jan-06 17:51
professionalRajesh R Subramanian18-Jan-06 17:51 
GeneralRe: Simple as Pie! Pin
<color>Aljechin 18-Jan-06 17:53
<color>Aljechin 18-Jan-06 17:53 
GeneralRe: Simple as Pie! Pin
Prakash Nadar18-Jan-06 18:06
Prakash Nadar18-Jan-06 18:06 
GeneralRe: Simple as Pie! Pin
Prakash Nadar18-Jan-06 18:05
Prakash Nadar18-Jan-06 18:05 
GeneralRe: Simple as Pie! Pin
Stephen Hewitt18-Jan-06 18:22
Stephen Hewitt18-Jan-06 18:22 
GeneralRe: Simple as Pie! Pin
Rajesh R Subramanian18-Jan-06 23:34
professionalRajesh R Subramanian18-Jan-06 23:34 
GeneralRe: Simple as Pie! Pin
Prakash Nadar17-Jan-06 22:15
Prakash Nadar17-Jan-06 22:15 
AnswerRe: Modal dialog - Close - ESC Pin
Michael Dunn17-Jan-06 21:33
sitebuilderMichael Dunn17-Jan-06 21:33 
GeneralRe: Modal dialog - Close - ESC Pin
Rajesh R Subramanian18-Jan-06 17:02
professionalRajesh R Subramanian18-Jan-06 17:02 
GeneralRe: Modal dialog - Close - ESC Pin
Michael Dunn19-Jan-06 22:22
sitebuilderMichael Dunn19-Jan-06 22:22 
GeneralRe: Modal dialog - Close - ESC Pin
Prakash Nadar22-Jan-06 17:39
Prakash Nadar22-Jan-06 17:39 
GeneralRe: Modal dialog - Close - ESC Pin
Michael Dunn22-Jan-06 21:11
sitebuilderMichael Dunn22-Jan-06 21:11 
GeneralRe: Modal dialog - Close - ESC Pin
Rajesh R Subramanian24-Jan-06 20:01
professionalRajesh R Subramanian24-Jan-06 20:01 
QuestionUnions Vs Struct. Pin
Prakash Nadar17-Jan-06 18:00
Prakash Nadar17-Jan-06 18:00 
AnswerRe: Unions Vs Struct. Pin
ky_rerun17-Jan-06 18:04
ky_rerun17-Jan-06 18:04 

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.