Click here to Skip to main content
15,170,078 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to return value after user input Pin
Santhosh G_2-Nov-12 22:41
MemberSanthosh G_2-Nov-12 22:41 
GeneralRe: how to return value after user input Pin
Member 21198443-Nov-12 0:24
MemberMember 21198443-Nov-12 0:24 
GeneralRe: how to return value after user input Pin
Richard MacCutchan3-Nov-12 2:56
mveRichard MacCutchan3-Nov-12 2:56 
GeneralRe: how to return value after user input Pin
Member 21198443-Nov-12 5:40
MemberMember 21198443-Nov-12 5:40 
GeneralRe: how to return value after user input Pin
Richard MacCutchan3-Nov-12 7:07
mveRichard MacCutchan3-Nov-12 7:07 
GeneralRe: how to return value after user input Pin
Member 21198443-Nov-12 8:12
MemberMember 21198443-Nov-12 8:12 
GeneralRe: how to return value after user input Pin
Richard MacCutchan3-Nov-12 9:03
mveRichard MacCutchan3-Nov-12 9:03 
GeneralRe: how to return value after user input Pin
Member 21198443-Nov-12 16:40
MemberMember 21198443-Nov-12 16:40 
ok i will try. but.
as you said. >> Use the events and notifications of the CDialog class.
Which Events and Notification?
i use this to block call OnOk() while press Enter Key.
C++
BOOL CRetValTestDlg::PreTranslateMessage( MSG* pMsg )
{
 if (pMsg->message == WM_KEYDOWN)
    {
        if ((pMsg->wParam == VK_RETURN) || (pMsg->wParam == VK_ESCAPE))
            pMsg->wParam = NULL;// VK_TAB;
    }

    return CDialog::PreTranslateMessage( pMsg );
}


how dialog do my work.
it would be great if i could get some sample code.
i have spend lot of time to read and search. i did not find or i did not understand. so i request for help. if i understand, i may not request for help.
GeneralRe: how to return value after user input Pin
Richard MacCutchan3-Nov-12 22:23
mveRichard MacCutchan3-Nov-12 22:23 
GeneralRe: how to return value after user input Pin
Member 21198443-Nov-12 23:59
MemberMember 21198443-Nov-12 23:59 
SuggestionRe: how to return value after user input Pin
David Crow4-Nov-12 17:28
MemberDavid Crow4-Nov-12 17:28 
Questionproblem with sprintf_s() on win 7 Pin
Member 93537761-Nov-12 22:57
MemberMember 93537761-Nov-12 22:57 
AnswerRe: problem with sprintf_s() on win 7 Pin
Santhosh G_1-Nov-12 23:34
MemberSanthosh G_1-Nov-12 23:34 
GeneralRe: problem with sprintf_s() on win 7 Pin
Member 93537764-Nov-12 17:46
MemberMember 93537764-Nov-12 17:46 
GeneralRe: problem with sprintf_s() on win 7 Pin
Santhosh G_4-Nov-12 18:08
MemberSanthosh G_4-Nov-12 18:08 
AnswerRe: problem with sprintf_s() on win 7 Pin
CPallini1-Nov-12 23:48
mveCPallini1-Nov-12 23:48 
GeneralRe: problem with sprintf_s() on win 7 Pin
Member 93537764-Nov-12 17:46
MemberMember 93537764-Nov-12 17:46 
GeneralRe: problem with sprintf_s() on win 7 Pin
CPallini4-Nov-12 23:02
mveCPallini4-Nov-12 23:02 
AnswerRe: problem with sprintf_s() on win 7 Pin
Sarath C5-Nov-12 23:14
MemberSarath C5-Nov-12 23:14 
AnswerRe: problem with sprintf_s() on win 7 Pin
Member 935377613-Nov-12 23:48
MemberMember 935377613-Nov-12 23:48 
Questionhow to get motherboard SN Pin
buffay1-Nov-12 20:42
Memberbuffay1-Nov-12 20:42 
AnswerRe: how to get motherboard SN Pin
Richard MacCutchan2-Nov-12 1:37
mveRichard MacCutchan2-Nov-12 1:37 
QuestionChart Control Pin
Tom Paronis1-Nov-12 7:04
MemberTom Paronis1-Nov-12 7:04 
AnswerRe: Chart Control Pin
Richard MacCutchan1-Nov-12 7:48
mveRichard MacCutchan1-Nov-12 7:48 
GeneralRe: Chart Control Pin
Tom Paronis1-Nov-12 8:34
MemberTom Paronis1-Nov-12 8:34 

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.