Click here to Skip to main content
15,911,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RichEdit Control Error Pin
Suresh H19-Feb-07 23:38
Suresh H19-Feb-07 23:38 
QuestionCapturing "Delete button down" from keyboard Pin
harsh_296119-Feb-07 20:52
harsh_296119-Feb-07 20:52 
AnswerRe: Capturing "Delete button down" from keyboard Pin
Hamid_RT19-Feb-07 20:57
Hamid_RT19-Feb-07 20:57 
GeneralRe: Capturing "Delete button down" from keyboard Pin
bosfan19-Feb-07 22:00
bosfan19-Feb-07 22:00 
GeneralRe: Capturing "Delete button down" from keyboard Pin
Hamid_RT19-Feb-07 23:08
Hamid_RT19-Feb-07 23:08 
GeneralRe: Capturing "Delete button down" from keyboard Pin
bosfan20-Feb-07 0:23
bosfan20-Feb-07 0:23 
GeneralRe: Capturing "Delete button down" from keyboard Pin
bosfan20-Feb-07 0:27
bosfan20-Feb-07 0:27 
GeneralRe: Capturing "Delete button down" from keyboard Pin
harsh_296120-Feb-07 0:55
harsh_296120-Feb-07 0:55 
Hi,
i used the below function on WM_KEYDOWN() message, but donno why it is not working.
It is not even detecting if i press any key. i dont know if ishould add something else.
Note:in the function "dummy" i have a messagebox to see if its working.

void CKeyboard1Dlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
//char lsChar;
//lsChar=char(nChar);
switch(nChar)
{
case VK_DELETE:
dummy();
break;
default:
CString d1;
d1="ur code not worki";
MessageBox(d1);

}

CDialog::OnKeyDown(nChar, nRepCnt, nFlags);
}

and function prototype i used is in ".h"file is
"afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);"



Harsha
GeneralRe: Capturing "Delete button down" from keyboard Pin
bosfan20-Feb-07 1:05
bosfan20-Feb-07 1:05 
GeneralRe: Capturing "Delete button down" from keyboard Pin
harsh_296120-Feb-07 18:57
harsh_296120-Feb-07 18:57 
GeneralRe: Capturing "Delete button down" from keyboard Pin
Hamid_RT20-Feb-07 1:12
Hamid_RT20-Feb-07 1:12 
GeneralRe: Capturing "Delete button down" from keyboard Pin
harsh_296120-Feb-07 22:32
harsh_296120-Feb-07 22:32 
QuestionDeleting selected items from list control Pin
harsh_296119-Feb-07 20:48
harsh_296119-Feb-07 20:48 
AnswerRe: Deleting selected items from list control Pin
Hamid_RT19-Feb-07 20:56
Hamid_RT19-Feb-07 20:56 
GeneralRe: Deleting selected items from list control Pin
harsh_296120-Feb-07 0:56
harsh_296120-Feb-07 0:56 
GeneralRe: Deleting selected items from list control Pin
Hamid_RT20-Feb-07 1:13
Hamid_RT20-Feb-07 1:13 
QuestionVisual Studio Project Generator Pin
CDRAIN19-Feb-07 20:37
CDRAIN19-Feb-07 20:37 
QuestionVisual Studio project generator Pin
CDRAIN19-Feb-07 20:35
CDRAIN19-Feb-07 20:35 
AnswerRe: Visual Studio project generator Pin
Hamid_RT19-Feb-07 20:47
Hamid_RT19-Feb-07 20:47 
AnswerRe: Visual Studio project generator Pin
Hamid_RT19-Feb-07 20:55
Hamid_RT19-Feb-07 20:55 
GeneralRe: Visual Studio project generator Pin
CDRAIN20-Feb-07 12:48
CDRAIN20-Feb-07 12:48 
GeneralRe: Visual Studio project generator Pin
CDRAIN20-Feb-07 12:49
CDRAIN20-Feb-07 12:49 
QuestionCTreeCtrl data in MS Access Database Pin
TanmaySathe19-Feb-07 18:16
TanmaySathe19-Feb-07 18:16 
AnswerRe: CTreeCtrl data in MS Access Database Pin
Hamid_RT19-Feb-07 18:33
Hamid_RT19-Feb-07 18:33 
QuestionGetting the source path using MS Script Control ( IActiveScriptError) if any exception or error occured Pin
AKSIVAKUMAR19-Feb-07 17:51
AKSIVAKUMAR19-Feb-07 17:51 

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.