窗口界面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();
}
文件名大小写处理
{
// 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();
}
文件名大小写处理
相关文章推荐
- ICC7AVR 窗口拖出界面的问题
- 配置VNC实现远程窗口和服务器一样的界面
- [课程设计]Java实现图形化窗口界面可存储ATM机(自助取款机)
- 初学汇编:MASMPlus下自定义Debug工具
- Redis Web界面管理工具
- win32汇编--创建窗口程序(RadAsm)
- 界面可视化工具------DroidDraw
- VC界面窗口:透明窗体地又一完成[库库中文网]-系统编程教程 QQGB.com
- ubuntu定制开机界面系统工具的开发
- Qt写一个截屏工具(窗口透明)
- DroidDraw---Android的界面设计工具
- (2)qt5的图像界面(UI)创建第一个项目并以运行窗口为例
- VC++界面编程之--使用分层窗口实现界面皮肤
- Linux开发工具(gcc gdb make shell)——c的预处理、编译、汇编和链接
- Sublime Text 2 注册提醒窗口自动关闭小工具
- 16个高效测试响应式设计界面工具
- 金蝶EAS,设置界面大小、窗口标题、按钮可用
- Source insight怎样恢复默认界面布局 窗口嵌入
- 获取app的主窗口,返回主视图界面
- Android ui utils-简单实用的Android界面工具