文件名称:222
- 所属分类:
- 数据库系统
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 113kb
- 下载次数:
- 0次
- 提 供 者:
- y***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是在学习数据库时写的一个程序,采取DAO访问ACCESS数据库的方式
1:在程序中使用了CButtonStyle这个免费类库。
2:在InitButtonSytle()中,为了使代码更短小,用循环实现了位图按钮。
// 用循环实现必须手动改动Resource.h中的定义
// 具体细节请参看源代码
for ( int nIco = IDI_JUMP, nBtn = IDC_JUMP nBtn >= IDC_LISTITEM nIco--, nBtn-- )
{
CButtonStyle *Button = ButtonList.RemoveTail()
Button->SubclassDlgItem( nBtn, this )
Button->SetIcon( nIco )
Button->SetInactiveBgColor()
Button->SetInactiveFgColor()
Button->SetActiveBgColor()
}-This is in learning to write a database procedure, visit the ACCESS database DAO take way 1: in the procedure used CButtonStyle This free class library. 2: InitButtonSytle () in order to make the code more short cycle achieved using bitmap button.// Use recycled Resource.h realize changes must be manually defined in// the specific details please see the source code for (int nIco = IDI_JUMP, nBtn = IDC_JUMP nBtn
1:在程序中使用了CButtonStyle这个免费类库。
2:在InitButtonSytle()中,为了使代码更短小,用循环实现了位图按钮。
// 用循环实现必须手动改动Resource.h中的定义
// 具体细节请参看源代码
for ( int nIco = IDI_JUMP, nBtn = IDC_JUMP nBtn >= IDC_LISTITEM nIco--, nBtn-- )
{
CButtonStyle *Button = ButtonList.RemoveTail()
Button->SubclassDlgItem( nBtn, this )
Button->SetIcon( nIco )
Button->SetInactiveBgColor()
Button->SetInactiveFgColor()
Button->SetActiveBgColor()
}-This is in learning to write a database procedure, visit the ACCESS database DAO take way 1: in the procedure used CButtonStyle This free class library. 2: InitButtonSytle () in order to make the code more short cycle achieved using bitmap button.// Use recycled Resource.h realize changes must be manually defined in// the specific details please see the source code for (int nIco = IDI_JUMP, nBtn = IDC_JUMP nBtn
(系统自动生成,下载前可以参看下载内容)
下载文件列表
222
...\ButtonStyle.cpp
...\ButtonStyle.h
...\ListItemDlg.cpp
...\ListItemDlg.h
...\MagicWord.aps
...\MagicWord.clw
...\MagicWord.cpp
...\MagicWord.dsp
...\MagicWord.dsw
...\MagicWord.h
...\MagicWord.mdb
...\MagicWord.ncb
...\MagicWord.opt
...\MagicWord.plg
...\MagicWord.rc
...\MagicWordDlg.cpp
...\MagicWordDlg.h
...\RES
...\...\About.ico
...\...\Addition.ico
...\...\End.ico
...\...\Exit.ico
...\...\Goto.ico
...\...\Home.ico
...\...\Jump.ico
...\...\Listitem.ico
...\...\MagicWord.ico
...\...\MagicWord.rc2
...\...\Modify.ico
...\...\Next.ico
...\...\Previous.ico
...\...\Remove.ico
...\...\Search.ico
...\...\Setting.ico
...\resource.h
...\SearchDlg.cpp
...\SearchDlg.h
...\StdAfx.cpp
...\StdAfx.h
...\WordDaoSet.cpp
...\WordDaoSet.h
...\WordInfoDlg.cpp
...\WordInfoDlg.h
...\下载说明.htm
...\历史信息.txt
...\ButtonStyle.cpp
...\ButtonStyle.h
...\ListItemDlg.cpp
...\ListItemDlg.h
...\MagicWord.aps
...\MagicWord.clw
...\MagicWord.cpp
...\MagicWord.dsp
...\MagicWord.dsw
...\MagicWord.h
...\MagicWord.mdb
...\MagicWord.ncb
...\MagicWord.opt
...\MagicWord.plg
...\MagicWord.rc
...\MagicWordDlg.cpp
...\MagicWordDlg.h
...\RES
...\...\About.ico
...\...\Addition.ico
...\...\End.ico
...\...\Exit.ico
...\...\Goto.ico
...\...\Home.ico
...\...\Jump.ico
...\...\Listitem.ico
...\...\MagicWord.ico
...\...\MagicWord.rc2
...\...\Modify.ico
...\...\Next.ico
...\...\Previous.ico
...\...\Remove.ico
...\...\Search.ico
...\...\Setting.ico
...\resource.h
...\SearchDlg.cpp
...\SearchDlg.h
...\StdAfx.cpp
...\StdAfx.h
...\WordDaoSet.cpp
...\WordDaoSet.h
...\WordInfoDlg.cpp
...\WordInfoDlg.h
...\下载说明.htm
...\历史信息.txt