Welcome to CIconDialog, A freeware MFC dialog class to select an icon. This is
based on the dialog that appears when you choose to change the icon for a
shortcut in the Windows 95 / NT 4 shell. The actual appearance of the dialog is
based on the new look dialog in IE4 PP2 which uses a larger list box to display
the icons. Have a look on my web site or run the supplied sample to see what it
looks like.
Included is a simple dialog based application which shows how to use it. The
class would be used in your application as follows:
CIconDialog dlg(this);
dlg.SetIcon(m_sFilename, m_nIconIndex);
if (dlg.DoModal() == IDOK)
dlg.GetIcon(m_sFilename, m_nIconIndex);
The variables m_sFilename and m_nIconIndex would be managed by your application.
To use CIconDialog in your project simply include icondlg.cpp, the 5 string
resources and the dialog resource IDD_CHOOSE_ICON from the test application in
your application. Then just #include "icondlg.h" in which ever class needs to
use it.
Happy coding.
CONTACTING THE AUTHOR
PJ Naughter
Email: pjna@naughter.com
Web: http://www.naughter.com
12th April 2000
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
icondialog.zip (16个子文件)
IconDlgTest.dsw 547B
IconDlgTest.rc 5KB
IconDlgTest.dsp 7KB
IconDlg.cpp 6KB
README.TXT 1KB
ICONDLG.H 1KB
RES
IconDlgTest.rc2 403B
IconDlgTest.ico 1KB
IconDlgTestDlg.cpp 1KB
IconDlgTest.h 383B
Resource.h 1KB
StdAfx.cpp 209B
IconDlgTest.mak 10KB
StdAfx.h 499B
IconDlgTest.cpp 538B
IconDlgTestDlg.h 573B
共 16 条
- 1
资源评论
普通网友
- 粉丝: 882
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功