Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Is it possible to create C++ obj in C with new operator? Pin
Nandu_77b7-Jun-08 1:22
Nandu_77b7-Jun-08 1:22 
AnswerRe: Is it possible to create C++ obj in C with new operator? Pin
Gary R. Wheeler7-Jun-08 2:52
Gary R. Wheeler7-Jun-08 2:52 
GeneralRe: Is it possible to create C++ obj in C with new operator? Pin
Nandu_77b7-Jun-08 3:22
Nandu_77b7-Jun-08 3:22 
QuestionEsc Button use for Close the Dialog Box. Pin
Le@rner7-Jun-08 0:41
Le@rner7-Jun-08 0:41 
AnswerRe: Esc Button use for Close the Dialog Box. Pin
Gary R. Wheeler7-Jun-08 1:05
Gary R. Wheeler7-Jun-08 1:05 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 2:13
protectorNelek7-Jun-08 2:13 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Gary R. Wheeler7-Jun-08 2:18
Gary R. Wheeler7-Jun-08 2:18 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 2:22
protectorNelek7-Jun-08 2:22 
Gary R. Wheeler wrote:
It sounded like he wanted to prevent the ESC key from closing the dialog


Yes, but if you add the OnCancel () in MFC it usually comes with the return CDialog::OnCancel ()... you just said to add the OnCancel but nothing about an empty OnCancel (what you do have said now Wink | ;) )

EDIT:


Gary R. Wheeler wrote:
add an OnCancel() handler


Blush | :O Sorry I missread the word handler Roll eyes | :rolleyes: , so actually the dialog has the function in header but no code in definition, isn't it?

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralRe: Esc Button use for Close the Dialog Box. Pin
Rajesh R Subramanian7-Jun-08 6:16
professionalRajesh R Subramanian7-Jun-08 6:16 
AnswerRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 2:11
protectorNelek7-Jun-08 2:11 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Le@rner7-Jun-08 2:44
Le@rner7-Jun-08 2:44 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Jijo.Raj7-Jun-08 3:48
Jijo.Raj7-Jun-08 3:48 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 7:05
protectorNelek7-Jun-08 7:05 
AnswerRe: Esc Button use for Close the Dialog Box. Pin
Michael Schubert7-Jun-08 3:38
Michael Schubert7-Jun-08 3:38 
QuestionEncryption/Decryption Pin
H4u327-Jun-08 0:07
H4u327-Jun-08 0:07 
AnswerRe: Encryption/Decryption Pin
Saurabh.Garg7-Jun-08 3:03
Saurabh.Garg7-Jun-08 3:03 
AnswerRe: Encryption/Decryption Pin
Hamid_RT7-Jun-08 21:15
Hamid_RT7-Jun-08 21:15 
QuestionColumn Count ? Pin
kk.tvm6-Jun-08 23:59
kk.tvm6-Jun-08 23:59 
AnswerRe: Column Count ? Pin
Mukesh Kumar7-Jun-08 1:00
Mukesh Kumar7-Jun-08 1:00 
GeneralRe: Column Count ? Pin
kk.tvm7-Jun-08 3:17
kk.tvm7-Jun-08 3:17 
AnswerRe: Column Count ? Pin
Hamid_RT7-Jun-08 21:17
Hamid_RT7-Jun-08 21:17 
QuestionFocus on ListCtrl. Pin
Le@rner6-Jun-08 23:36
Le@rner6-Jun-08 23:36 
AnswerRe: Focus on ListCtrl. Pin
Hamid_RT7-Jun-08 21:16
Hamid_RT7-Jun-08 21:16 
GeneralRe: Focus on ListCtrl. Pin
Le@rner8-Jun-08 18:31
Le@rner8-Jun-08 18:31 
QuestionShutdown a remote machine ? (VC++) Pin
mrin6-Jun-08 23:21
mrin6-Jun-08 23:21 

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.