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

C / C++ / MFC

 
AnswerRe: where to get information about shell in registry and files. Pin
Michael Schubert10-Aug-09 4:34
Michael Schubert10-Aug-09 4:34 
GeneralRe: where to get information about shell in registry and files. Pin
mr.dot10-Aug-09 15:11
mr.dot10-Aug-09 15:11 
QuestionMultiple language installation (setup) Pin
includeh109-Aug-09 3:35
includeh109-Aug-09 3:35 
AnswerRe: Multiple language installation (setup) Pin
«_Superman_»9-Aug-09 17:35
professional«_Superman_»9-Aug-09 17:35 
QuestionExecution Speed of C++ in different circumstances!!!! [modified] Pin
auto98178-Aug-09 11:46
auto98178-Aug-09 11:46 
AnswerRe: Execution Speed of C++ in different circumstances!!!! [modified] Pin
Moak8-Aug-09 12:46
Moak8-Aug-09 12:46 
AnswerRe: Execution Speed of C++ in different circumstances!!!! Pin
Maximilien9-Aug-09 1:47
Maximilien9-Aug-09 1:47 
QuestionDisable esc key exit for MFC Application Pin
swinder8-Aug-09 9:11
swinder8-Aug-09 9:11 
Hi experts,

I have an Application in MFC using single dialog window.

Problem i am facing is, it exits when i press escape key.

i want it to exit when i press "Exit" button that i made my self and also by pressing "x"(default close button provided in dialog) button on top right corner of window but not by "esc" key.

I tried emptying the implementation of "OnCancel" function. It solves the problem of "esc" key, but it also disables, exit when i press "x" button.

Please help me, it is very annoying when i accidentally press exit and window goes away.

If possible, tell me way to add, minimize button along with "x"(close) button on the top.

Regards,
Swinder....
AnswerRe: Disable esc key exit for MFC Application Pin
Code-o-mat8-Aug-09 9:43
Code-o-mat8-Aug-09 9:43 
AnswerRe: Disable esc key exit for MFC Application Pin
David Crow8-Aug-09 11:38
David Crow8-Aug-09 11:38 
GeneralRe: Disable esc key exit for MFC Application Pin
jon_fallon9-Aug-09 2:45
jon_fallon9-Aug-09 2:45 
AnswerRe: Disable esc key exit for MFC Application Pin
jon_fallon9-Aug-09 2:44
jon_fallon9-Aug-09 2:44 
QuestionRead Text File line be line.... Pin
spalanivel8-Aug-09 8:23
spalanivel8-Aug-09 8:23 
AnswerRe: Read Text File line be line.... Pin
PJ Arends8-Aug-09 9:23
professionalPJ Arends8-Aug-09 9:23 
AnswerRe: Read Text File line be line.... Pin
dybs9-Aug-09 16:20
dybs9-Aug-09 16:20 
QuestionStatus bar, owner-draw theme background? Pin
Moak8-Aug-09 8:15
Moak8-Aug-09 8:15 
AnswerRe: Status bar, owner-draw theme background? Pin
enhzflep9-Aug-09 1:59
enhzflep9-Aug-09 1:59 
GeneralRe: Status bar, owner-draw theme background? Pin
Moak9-Aug-09 2:35
Moak9-Aug-09 2:35 
AnswerRe: Status bar, owner-draw theme background? Pin
kilt11-Aug-09 6:28
kilt11-Aug-09 6:28 
Questionhelp with code from C# to C++/CLI Pin
iozk8-Aug-09 4:43
iozk8-Aug-09 4:43 
AnswerRe: help with code from C# to C++/CLI Pin
Dave Doknjas8-Aug-09 13:12
Dave Doknjas8-Aug-09 13:12 
QuestionRight Data in traditional Chinese but not in Simplified chines. Pin
gothic_coder8-Aug-09 3:56
gothic_coder8-Aug-09 3:56 
Questiondisply Pin
sreenivascnu8-Aug-09 0:18
sreenivascnu8-Aug-09 0:18 
AnswerRe: disply Pin
Super Lloyd8-Aug-09 0:23
Super Lloyd8-Aug-09 0:23 
AnswerRe: disply Pin
Code-o-mat8-Aug-09 5:07
Code-o-mat8-Aug-09 5:07 

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.