您的位置:首页 > 其它

窗口界面AVR反汇编工具

2008-08-02 15:36 323 查看
void CWindisavrView::OnRButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
// to simulate the LBUTTONDOWN. This will set the caret at the position of where the Right Button Clicked.
GetEditCtrl().SendMessage(WM_LBUTTONDOWN,(WPARAM)nFlags,(LPARAM)((point.y<<16)+point.x));
GetEditCtrl().SendMessage(WM_LBUTTONUP,(WPARAM)nFlags,(LPARAM)((point.y<<16)+point.x));
// CEditView::OnRButtonDown(nFlags, point);
}

右击改变不可直接用CEditView::OnLButtonDown(nFlags, point); MFC只查消息原始来源.

if(m_CyrrentFileName.Right(4).CompareNoCase(".hex")==0)
{
if(!Hex2Bin(lpszPathName))
{//hex file not available
return FALSE;
}
}
else if(m_CyrrentFileName.Right(4).CompareNoCase(".bin")==0)
{
CFile binfile;
binfile.Open(lpszPathName,CFile::modeRead|CFile::shareExclusive);
ReadBin(&binfile);
binfile.Close();
}
文件名大小写处理
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: