2009年11月23日

摘要: void NotifyShell(LONG wEventId,//事件标志 LPSTR szPath)//路径 { SHChangeNotify( wEventId, SHCNF_FLUSH | SHCNF_PATH, szPath,0); //取得szPath的父目录 char* p; for( p=szPath+lstrlen(szPath)-1; *p != '//'; p--); *p='/0'; SHChangeNotify(SHCNE_UPDATEDIR |SHCNE_INTERRUPT, SHCNF_FLUSH | SHCNF_PATH,szPat 阅读全文

posted @ 2009-11-23 23:27 严武 阅读(1492) 评论(0) 推荐(0) 编辑

摘要: 1) 在View中获得Doc指针 2) 在App中获得MainFrame指针 3) 在View中获得MainFrame指针 4) 获得View(已建立)指针 5) 获得当前文档指针 6) 获得状态栏与工具栏指针 7) 获得状态栏与工具栏变量 8) 在Mainframe获得菜单指针 9) 在任何类中获得应用程序类 10) 从文档类取得视图类的指针(1) 11) 在App中获得文档模板指针 12) 从文档模板获得文档类指针 13) 在文档类中获得文档模板指针 14) 从文档类取得视图类的指针(2) 15) 从一个视图类取得另一视图类的指针 VC中编程对于刚刚开始学习的同学,最大的障碍和问题就是消息 阅读全文

posted @ 2009-11-23 23:25 严武 阅读(238) 评论(0) 推荐(0) 编辑

摘要: 2007 Suites: DBXYD-TF477-46YM4-W74MH-6YDQ8 =============================================== Office 2007 Applications: W2JJW-4KYDP-2YMKW-FX36H-QYVD8 TT3M8-H3469-V89G6-8FWK7-D3Q9Q =============================================== Office Server: DHBRK-XPMBY-293WD-F2R8K-BCFBQ ===========================... 阅读全文

posted @ 2009-11-23 23:22 严武 阅读(770) 评论(0) 推荐(0) 编辑

摘要: F1: 帮助Ctrl+O :OpenCtrl+P :PrintCtrl+N :NewCtrl+Shift+F2 :清除所有书签F2 :上一个书签Shift+F2 :上一个书签Alt+F2 :编辑书签Ctrl+F2 :添加/删除一个书签F12 :Goto definitionShift+F12 :Goto referenceCtrl+'Num+' :Displays the next symbol definition or referenceCtrl+'Num-' :Displays the previous symbol definition or refer 阅读全文

posted @ 2009-11-23 23:20 严武 阅读(325) 评论(0) 推荐(0) 编辑

摘要: 最近,测试时常用到计算程序的运行时间。每次同事或自己用手机、MP4,或者开着网页或windows时间窗口来计算时间,感觉都太笨的,学计算机的,计时工具竟还是用这些!当然网上肯定是能找到一堆完整的计时工具,但我们懒。。。呼,后面的就不说了!那就弄个MFC对话框,在里面设置一个热键(如Shift+F11)来触发开发计时吧。1、生成一个VC工程(这里用MFC的单对话框);2、在对话框类的消息映射里(BEGIN_MESSAGE_MAP(CMFCusePerlDlg, CDialog))添加:ON_MESSAGE(WM_HOTKEY, OnHotKey) //热键映射消息3、在对话框类中(生成的消息映射 阅读全文

posted @ 2009-11-23 21:45 严武 阅读(4279) 评论(0) 推荐(0) 编辑

摘要: This item references content from the following areas:CCNA Exploration3.2.2 Configuring Static Frame Relay Maps Assessment Item:Refer to the exhibit. Router R1 has been configured for Frame Relay connectivity to routers R2 and R3. What configuration option should be configured on the R2 and R3 seria 阅读全文

posted @ 2009-11-23 17:11 严武 阅读(340) 评论(0) 推荐(0) 编辑

摘要: 1.2.4 WAN Switching Concepts Assessment Item:What is an advantage of packet-switched technology over circuit-switched technology?Packet-switched networks are less susceptible to jitter than circuit-switched networks are. Packet-switched networks can efficiently use multiple routes inside a service p 阅读全文

posted @ 2009-11-23 17:09 严武 阅读(470) 评论(0) 推荐(0) 编辑

摘要: This item references content from the following areas:CCNA Exploration2.3.2 PPP Configuration Commands Assessment Item:Refer to the exhibit. What can be concluded about the function of the Serial 0/0/0 interface on the router after the commands are entered?All username and password information that 阅读全文

posted @ 2009-11-23 17:09 严武 阅读(445) 评论(0) 推荐(0) 编辑


Copyright © 2024 严武
Powered by .NET 8.0 on Kubernetes