void CXXXDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
BOOL bCtrl = GetAsyncKeyState(VK_CONTROL) & 0x8000;
if(bCtrl)
{
switch(nChar)
{
case 'C'://copy
case 'c':
return;
case 'X'://cut
case 'x':
return;
case 'V'://Paste
case 'v':
return;
default :
CDialog::OnKeyDown(nChar, nRepCnt, nFlags);
}
}
}