Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDoubt in Dialog class Pin
Anu_Bala8-Aug-06 0:31
Anu_Bala8-Aug-06 0:31 
AnswerRe: Doubt in Dialog class Pin
uday kiran janaswamy8-Aug-06 0:40
uday kiran janaswamy8-Aug-06 0:40 
AnswerRe: Doubt in Dialog class Pin
_AnsHUMAN_ 8-Aug-06 0:41
_AnsHUMAN_ 8-Aug-06 0:41 
AnswerRe: Doubt in Dialog class Pin
Hamid_RT8-Aug-06 1:04
Hamid_RT8-Aug-06 1:04 
GeneralRe: Doubt in Dialog class Pin
Anu_Bala8-Aug-06 2:04
Anu_Bala8-Aug-06 2:04 
GeneralRe: Doubt in Dialog class Pin
jhwurmbach8-Aug-06 3:29
jhwurmbach8-Aug-06 3:29 
GeneralRe: Doubt in Dialog class Pin
Hamid_RT8-Aug-06 7:59
Hamid_RT8-Aug-06 7:59 
GeneralRe: Doubt in Dialog class Pin
Anu_Bala8-Aug-06 18:01
Anu_Bala8-Aug-06 18:01 
Yes, when i clicked 1 it goes to keyboard.cpp,ther i wrote
void CKBoard::OnLButtonUp(UINT nFlags, CPoint point)
{
case 51 :
ActiveView->PostMessage(WM_KEYDOWN,49,0); break;
}
It executes the line and then it goes to OnkeyDown() in that particular dialog,their i wrote..
void CFaceDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
case 49:
case 97:
sSktNumValue += "1";
break;
}
This is coding..when i debugged this coding the control after executing WM_KEYDOWN...It should go to Onkeydown() in that dialog..But the control goes to OnKEyDown() in te particular view where the dialog exist...So i wrote the codings of Dialog OnKeyDown() in to THat view class OnKeyDown() function.
Thats im asking is there anyway to get value which i pressed in keyboard go to dialog OnKeyDown or the control goes as it is View class OnKeyDown()but the final value should entered in that particular Dialog edit box...
Pls give any solution..

Anu

GeneralRe: Doubt in Dialog class Pin
Hamid_RT8-Aug-06 21:29
Hamid_RT8-Aug-06 21:29 
QuestionExit the program. Pin
cshong8-Aug-06 0:16
cshong8-Aug-06 0:16 
AnswerRe: Exit the program. Pin
Rob Caldecott8-Aug-06 0:22
Rob Caldecott8-Aug-06 0:22 
GeneralRe: Exit the program. Pin
cshong8-Aug-06 1:36
cshong8-Aug-06 1:36 
AnswerRe: Exit the program. Pin
Hamid_RT8-Aug-06 1:06
Hamid_RT8-Aug-06 1:06 
GeneralRe: Exit the program. Pin
cshong8-Aug-06 1:37
cshong8-Aug-06 1:37 
GeneralRe: Exit the program. Pin
Hamid_RT8-Aug-06 4:14
Hamid_RT8-Aug-06 4:14 
AnswerRe: Exit the program. Pin
Naveen8-Aug-06 2:29
Naveen8-Aug-06 2:29 
GeneralRe: Exit the program. Pin
uday kiran janaswamy8-Aug-06 2:53
uday kiran janaswamy8-Aug-06 2:53 
Questionstd , vector Pin
vivek.s.vivek7-Aug-06 23:18
vivek.s.vivek7-Aug-06 23:18 
AnswerRe: std , vector Pin
_AnsHUMAN_ 7-Aug-06 23:22
_AnsHUMAN_ 7-Aug-06 23:22 
GeneralRe: std , vector Pin
vivek.s.vivek7-Aug-06 23:28
vivek.s.vivek7-Aug-06 23:28 
GeneralRe: std , vector [modified] Pin
_AnsHUMAN_ 7-Aug-06 23:35
_AnsHUMAN_ 7-Aug-06 23:35 
AnswerRe: std , vector [modified] Pin
Cedric Moonen7-Aug-06 23:22
Cedric Moonen7-Aug-06 23:22 
AnswerRe: std , vector Pin
Hamid_RT8-Aug-06 1:16
Hamid_RT8-Aug-06 1:16 
Questiondelete graph Pin
thathvamsi7-Aug-06 22:51
thathvamsi7-Aug-06 22:51 
AnswerRe: delete graph Pin
Cedric Moonen7-Aug-06 22:53
Cedric Moonen7-Aug-06 22:53 

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.