• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






tecmybook

 
 

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

2011年12月27日

目录和文件
摘要: //获得Windows目录void CDemoDlg::OnGetWinDir(){ TCHAR szDirectory[MAX_PATH]; //获得Windows目录 if (::GetWindowsDirectory(szDirectory, MAX_PATH) > 0) { CString strText = _T(""); strText.Format(_T("Windows目录:\n%s"), szDirectory); AfxMessageBox(strText); }}//获得System目录void CDemoDlg::OnGet 阅读全文
posted @ 2011-12-27 15:09 tecmybook 阅读(253) 评论(0) 推荐(1)
 

2010年3月21日

学习 TTreeView [1] - TTreeNodes、TTreeNode 与 Items、Items.Count、Items.Clear
摘要: unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls;type TForm1 = class(TForm) TreeView1: TTreeView; TreeView2: TTreeView... 阅读全文
posted @ 2010-03-21 14:13 tecmybook 阅读(171) 评论(0) 推荐(0)