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

C / C++ / MFC

 
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 
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 
drag and drop a edit box - IDC_EDIT1
drag and drop a button - IDC_BUTTON1

Now Right click -> Class Wizard ->Choose "member variable" tab ->Select IDC_EDIT1->Click "Add variable" Now give a string m_String.
Now go to Message map tab->Choose IDC_BUTTON1->select BN_CLICKED -> Click "Add Function" . Give ok to OnButton1().
Now go to the proper .cpp file which ends eith *dlg.cpp . Change the function OnButton1() definetion as below
void CProjDlg::OnButton1()
{
// TODO: Add your control notification handler code here
AfxMessageBox(m_String);
}



redindian

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 
Question[Message Deleted] Pin
Llasus7-Nov-06 21:41
Llasus7-Nov-06 21:41 
AnswerRe: calling a function inside a thread Pin
Cedric Moonen7-Nov-06 21:43
Cedric Moonen7-Nov-06 21:43 

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.