| « | February 2026 | » | | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | |
| 公告 |
| 暂无公告... |
| Blog信息 |
|
blog名称: 日志总数:21 评论数量:94 留言数量:1 访问次数:145935 建立时间:2006年1月9日 |

| |
|
[Visual C++]VC文件目录选择对话框(任意目录) 原创空间, 文章收藏, 软件技术
joinclear 发表于 2006/6/8 22:46:48 |
转载自: http://www.vclife.net/articles/article_view.asp?atlid=48
使用目录选择对话框时,如何让其弹出后自动打开指定目录?
是的当用目录选择对话框时,用如下的结构打开。 typedef struct _browseinfo { HWND hwndOwner; LPCITEMIDLIST pidlRoot; LPSTR pszDisplayName; LPCSTR lpszTitle; UINT ulFlags; BFFCALLBACK lpfn; LPARAM lParam; int iImage; } BROWSEINFO, *PBROWSEINFO, *LPBROWSEINFO;
LPCITEMIDLIST pidlRoot; 这个就 |
|
|
[Visual C++](一)VC保存和显示数据库图像(BMP) 原创空间, 文章收藏, 软件技术
joinclear 发表于 2006/5/13 18:06:09 |
转载自: http://www.vclife.net/articles/article_view.asp?atlid=17
简述关键代码如下:
1、保存图片数据到数据库
//BMP图片保存到数据库 try { _RecordsetPtr pRecordset; pRecordset.CreateInstance(__uuidof(Recordset));   |
|
|
[转帖]从Windows消息的角度看窗口应用程序的运行过程 文章收藏
joinclear 发表于 2006/2/20 13:43:49 |
转载自: http://doc.4kiki.net/content/1/7/200505/01/0cb2559898848981.html 一个典型的Win32窗口应用程序的框架是这样的: 程序入口点(WinMain函数)-->注册窗口类(调用RegisterClass函数或RegisterClassEx函数)-->创建主窗口(调用CreateWindow函数或CreateWindowEx函数)-->显示主窗口(调用ShowWindow函数)-->更新主窗口(调用UpdateWindow函数)-->进入消息循环(GetMessage、TranslateMessage、DispatchMessage)并处理各种Windows消息(窗口过程函数)-->程序出口点(WinMain返回)。就像下面这个例子一样:
#in |
|
|