Click here to Skip to main content
15,914,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Viewing in Binary format Pin
toxcct31-Jul-06 0:04
toxcct31-Jul-06 0:04 
GeneralRe: Viewing in Binary format Pin
Sarath C31-Jul-06 0:06
Sarath C31-Jul-06 0:06 
QuestionViewing a DLL Pin
Polite Programmer30-Jul-06 21:53
Polite Programmer30-Jul-06 21:53 
AnswerRe: Viewing a DLL Pin
toxcct30-Jul-06 22:31
toxcct30-Jul-06 22:31 
AnswerRe: Viewing a DLL Pin
NiceNaidu30-Jul-06 22:32
NiceNaidu30-Jul-06 22:32 
AnswerRe: Viewing a DLL Pin
Michael Dunn31-Jul-06 8:44
sitebuilderMichael Dunn31-Jul-06 8:44 
AnswerRe: Viewing a DLL Pin
ThatsAlok1-Aug-06 3:49
ThatsAlok1-Aug-06 3:49 
QuestionOnKeyDown() Pin
Anu_Bala30-Jul-06 21:20
Anu_Bala30-Jul-06 21:20 
Actually my problem is...I made a keyboard with some bitmap and i
incuded this in to Dialog and i name it as KeyBoard.cpp.
THe keyboard has the same resemblance of system keyboard.
I included some dialogs to enter the values and performing functon as
normal dialog...Instead of using our system keyboard to all purpose..I
am using that Keyboard in applivation. Normally if i entered the number
1 in system keyboard then that normal dialog named as simpledlg.cpp
file.The simpledlg edit control accept my value.
At the same time if press number 1 in my application keyboard the
number is not get in to that simpledlg edit control.I think now u get
my problem.
FOr that my coding is ..
In Keyboard.cpp...For each button,I wrote like this..
void CKBoard::OnLButtonUp(UINT nFlags, CPoint point)
{
CView *curView;
CMDIFrameWnd *fWnd = (CMDIFrameWnd*)AfxGetApp()->m_pMainWnd;
CMDIChildWnd *fChWnd = fWnd->MDIGetActive(&bMax);
if(fChWnd->GetSafeHwnd())
curView = (CView *)fChWnd->GetActiveView();
else
curView = NULL;
switch (keyvalue)//number of keys in keyboard
{
case 51 :
if (curView)
curView->PostMessage(WM_KEYDOWN,49,0);
break;
case 52 :
if (curView)
curView->PostMessage(WM_KEYDOWN,50,0);
break;
case 53 :
if (curView)
curView->PostMessage(WM_KEYDOWN,51,0);
break;
case 54 :
if (curView)
curView->PostMessage(WM_KEYDOWN,52,0);
break;
case 55 :
if (curView)
curView->PostMessage(WM_KEYDOWN,53,0);
break;
CDialog::OnLButtonUp(nFlags, point);
}

In simpledlg.cpp class i wrote OnKeyDown function to accept this
coomand..
void CFaceDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
switch(nChar)
{
case 49:
sSktNumValue += "1";
break;
case 50:
sSktNumValue += "2";
break;
case 51:
sSktNumValue += "3";
break;
.
.
.
.
}
Please find out my problem


Anu

AnswerRe: OnKeyDown() Pin
toxcct30-Jul-06 21:22
toxcct30-Jul-06 21:22 
GeneralRe: OnKeyDown() Pin
Anu_Bala30-Jul-06 21:30
Anu_Bala30-Jul-06 21:30 
GeneralRe: OnKeyDown() Pin
NiceNaidu30-Jul-06 22:17
NiceNaidu30-Jul-06 22:17 
GeneralRe: OnKeyDown() Pin
Anu_Bala30-Jul-06 23:14
Anu_Bala30-Jul-06 23:14 
QuestionLRESULT Pin
sach!!30-Jul-06 20:38
sach!!30-Jul-06 20:38 
AnswerRe: LRESULT Pin
NiceNaidu30-Jul-06 21:33
NiceNaidu30-Jul-06 21:33 
AnswerRe: LRESULT Pin
Hamid_RT31-Jul-06 1:27
Hamid_RT31-Jul-06 1:27 
GeneralRe: LRESULT Pin
sach!!31-Jul-06 2:05
sach!!31-Jul-06 2:05 
GeneralRe: LRESULT Pin
Hamid_RT31-Jul-06 6:31
Hamid_RT31-Jul-06 6:31 
AnswerRe: LRESULT Pin
ThatsAlok31-Jul-06 23:05
ThatsAlok31-Jul-06 23:05 
QuestionXML Namespace Pin
harilal30-Jul-06 20:29
harilal30-Jul-06 20:29 
AnswerRe: XML Namespace Pin
Taka Muraoka30-Jul-06 22:09
Taka Muraoka30-Jul-06 22:09 
GeneralRe: XML Namespace Pin
harilal31-Jul-06 1:14
harilal31-Jul-06 1:14 
QuestionPartition drive based Pin
aaaan30-Jul-06 19:55
aaaan30-Jul-06 19:55 
AnswerRe: Partition drive based Pin
Hamid_RT30-Jul-06 20:35
Hamid_RT30-Jul-06 20:35 
GeneralRe: Partition drive based Pin
aaaan30-Jul-06 21:00
aaaan30-Jul-06 21:00 
GeneralRe: Partition drive based Pin
Hamid_RT30-Jul-06 21:32
Hamid_RT30-Jul-06 21:32 

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.