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

C / C++ / MFC

 
QuestionProgramming Challenge Pin
Hadi Dayvary7-Nov-06 22:34
professionalHadi Dayvary7-Nov-06 22:34 
AnswerRe: Programming Challenge Pin
Christian Graus7-Nov-06 23:05
protectorChristian Graus7-Nov-06 23:05 
GeneralRe: Programming Challenge Pin
Hadi Dayvary7-Nov-06 23:39
professionalHadi Dayvary7-Nov-06 23:39 
AnswerRe: Programming Challenge Pin
Jonathan [Darka]8-Nov-06 0:30
professionalJonathan [Darka]8-Nov-06 0:30 
GeneralRe: Programming Challenge Pin
Hadi Dayvary8-Nov-06 0:47
professionalHadi Dayvary8-Nov-06 0:47 
GeneralRe: Programming Challenge Pin
TClarke8-Nov-06 6:07
TClarke8-Nov-06 6:07 
Questionhow to handle enter key press in mfc Pin
sureshu7-Nov-06 22:20
sureshu7-Nov-06 22:20 
AnswerRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 22:25
dharani7-Nov-06 22:25 
Hello
Suresh , I hope minutes before WhiteSky already told you the way to add an event handler to the menu item and how to display a message box. If you spend few minutes with the class wizard yoi should be able to spot the event handler for the button in the class where it is part of .
Anyway ,

In the edit box property change the type from Control to value and choose a CString variable as the holder of values.
Now in nButton1() , use the CString variable to pass to AfxMessageBox(str)

redindian

AnswerRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 22:28
dharani7-Nov-06 22:28 
GeneralRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 22:43
dharani7-Nov-06 22:43 
GeneralRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 23:00
dharani7-Nov-06 23:00 
GeneralRe: how to handle enter key press in mfc Pin
Cedric Moonen7-Nov-06 23:40
Cedric Moonen7-Nov-06 23:40 
GeneralRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 23:21
dharani7-Nov-06 23:21 
GeneralRe: how to handle enter key press in mfc Pin
sureshu7-Nov-06 23:37
sureshu7-Nov-06 23:37 
GeneralRe: how to handle enter key press in mfc Pin
dharani7-Nov-06 23:42
dharani7-Nov-06 23:42 
GeneralRe: how to handle enter key press in mfc Pin
sureshu7-Nov-06 23:44
sureshu7-Nov-06 23:44 
GeneralRe: how to handle enter key press in mfc Pin
Cedric Moonen7-Nov-06 23:57
Cedric Moonen7-Nov-06 23:57 
GeneralRe: how to handle enter key press in mfc Pin
sureshu8-Nov-06 0:03
sureshu8-Nov-06 0:03 
GeneralRe: how to handle enter key press in mfc Pin
dharani8-Nov-06 18:44
dharani8-Nov-06 18:44 
GeneralRe: how to handle enter key press in mfc Pin
sureshu8-Nov-06 0:08
sureshu8-Nov-06 0:08 
GeneralRe: how to handle enter key press in mfc Pin
David Crow8-Nov-06 3:04
David Crow8-Nov-06 3:04 
GeneralRe: how to handle enter key press in mfc Pin
dharani8-Nov-06 19:26
dharani8-Nov-06 19:26 
QuestionFinding an exception in a DLL Pin
mt_samiei7-Nov-06 21:59
mt_samiei7-Nov-06 21:59 
AnswerRe: Finding an exception in a DLL Pin
dharani7-Nov-06 22:15
dharani7-Nov-06 22:15 
AnswerRe: Finding an exception in a DLL Pin
Stephen Hewitt8-Nov-06 11:46
Stephen Hewitt8-Nov-06 11:46 

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.