void CKeySequences::OnKeyComboListDoubleClick( NMHDR* /*pNMHDR*/, LRESULT* pResult ) { //LPNMLISTVIEW pNMLV = reinterpret_cast<LPNMLISTVIEW>( pNMHDR ); OnBnClickedEdit( ); *pResult = 0; }
BOOL CEditDlg::PreTranslateMessage(MSG* pMsg) { if(pMsg->message==WM_KEYDOWN && pMsg->wParam==VK_ESCAPE) return TRUE; if(pMsg->message==WM_KEYDOWN && pMsg->wParam==VK_RETURN) { OnBnClickedEdit(); } else return CDialog::PreTranslateMessage(pMsg); }
void CInstrumentEditorDPCM::edit_clicked() { OnBnClickedEdit(); }