Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Michael Dunn wrote:
In general, the higher-up the call stack that you can make a change, the better.


Very good. But if it does not just solve the purpose, then I do not think it it is a sin to move a little lower into the stack! I read this same solution in your FAQ also. But it just is not the way to do it.
Doing this will stop the dialog from closing by clicking the cancel button or the X button even.
However it may prevent the dialog from closing on 'Escape' button press. But to solve a problem, I do not want to run into other problems.
<bold>How will i ever close the dialog then?</bold>
Add another button for it? Huh?


Michael Dunn wrote:
you may perhaps run into weird cases regarding key states, shift states, and so on.


Nothing weird. Shift state is readily available at GetKeyState(). I strongly believe that you would edit your FAQ also. Think on it!

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.


-- modified at 2:03 Wednesday 25th January, 2006
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 
GeneralRe: Unions Vs Struct. Pin
Prakash Nadar17-Jan-06 18:20
Prakash Nadar17-Jan-06 18:20 
GeneralRe: Unions Vs Struct. Pin
Prakash Nadar17-Jan-06 22:13
Prakash Nadar17-Jan-06 22:13 
AnswerRe: Unions Vs Struct. Pin
vallikumar17-Jan-06 18:33
vallikumar17-Jan-06 18:33 
GeneralRe: Unions Vs Struct. Pin
cmk17-Jan-06 19:22
cmk17-Jan-06 19:22 
AnswerRe: Unions Vs Struct. Pin
Stephen Hewitt17-Jan-06 18:37
Stephen Hewitt17-Jan-06 18:37 
GeneralRe: Unions Vs Struct. Pin
Owner drawn17-Jan-06 18:45
Owner drawn17-Jan-06 18:45 
GeneralRe: Unions Vs Struct. Pin
Stephen Hewitt17-Jan-06 18:53
Stephen Hewitt17-Jan-06 18:53 
GeneralRe: Unions Vs Struct. Pin
Owner drawn17-Jan-06 18:58
Owner drawn17-Jan-06 18:58 
GeneralRe: Unions Vs Struct. Pin
QuickDeveloper17-Jan-06 19:02
QuickDeveloper17-Jan-06 19:02 
Questionhow to use CDC::GetCharWidth()! please give me a instance! Pin
ebinaini17-Jan-06 15:29
ebinaini17-Jan-06 15:29 
AnswerRe: how to use CDC::GetCharWidth()! please give me a instance! Pin
Stephen Hewitt17-Jan-06 16:25
Stephen Hewitt17-Jan-06 16:25 
QuestionCInternetSession could not run in a message loop? Pin
rushing17-Jan-06 15:09
rushing17-Jan-06 15:09 
AnswerRe: CInternetSession could not run in a message loop? Pin
Prakash Nadar17-Jan-06 17:56
Prakash Nadar17-Jan-06 17:56 
GeneralRe: CInternetSession could not run in a message loop? Pin
rushing17-Jan-06 21:54
rushing17-Jan-06 21:54 
GeneralRe: CInternetSession could not run in a message loop? Pin
Prakash Nadar17-Jan-06 22:36
Prakash Nadar17-Jan-06 22:36 

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.