• 博客(0)
  • 资源 (3)

空空如也

操作系统 模拟内存作业

3*3种 9种方式 可以任意去掉部分功能

2010-02-23

sa+tb线性组合及最大公约数

就是信息安全基础课上讲的那个线性组合 程序比较小 不过比较实用

2009-11-01

右键菜单(支持快捷键)

一般般的程序,大虾们见笑了 void CMainFrame::OnTestZw() { // TODO: Add your command handler code here CClientDC DC(this); DC.TextOut(400,400,"鼠标右键"); } void CMainFrame::OnTestYw() { // TODO: Add your command handler code here CClientDC DC(this); DC.TextOut(100,100,"right click"); } void CMainFrame::OnContextMenu(CWnd* pWnd, CPoint point) { // TODO: Add your message handler code here CMenu menu; if (menu.LoadMenu(IDR_MAINFRAME)) { CMenu* pPopup = menu.GetSubMenu(2); pPopup->TrackPopupMenu(TPM_LEFTALIGN|TPM_RIGHTBUTTON,point.x, point.y, this); } menu.DestroyMenu(); }

2009-02-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除