blog

枪手亨利

博客园 首页 新随笔 联系 订阅 管理

2006年6月5日 #

摘要: 但是同样的方法却能正确枚举出“桌面”下的对象。 注意:不能正确枚举和不能枚举是不同的,不能正确枚举意思是:能枚举出来东西,但是获得的图标和DisplayName都不对。 程序如下,请高手帮忙瞧一瞧。 // m_pDirTree 为类成员变量 m_pDirTree=(CTreeCtrl *)GetDlgItem(IDC_TREE_PIDL); ::SetWindowLong(m_pDirTre... 阅读全文
posted @ 2006-06-05 13:20 henry 阅读(2875) 评论(2) 推荐(0) 编辑

摘要: 这通常是最久的历史纪录,但是你可以修改部分代码来删除需要的项目。 // Error checking minimized for clarity. void DeleteUrlFromHistoryShell() { HRESULT hr; // Call this if nee... 阅读全文
posted @ 2006-06-05 12:36 henry 阅读(697) 评论(0) 推荐(0) 编辑

摘要: //dirdialog.h //////////////////////////////////////////////////////////////////////// // DirDialog.h: interface for the CDirDialog class. ///////////////////////////////////... 阅读全文
posted @ 2006-06-05 12:35 henry 阅读(1179) 评论(0) 推荐(0) 编辑