文件名称:ChangingDesktop
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 38kb
- 下载次数:
- 0次
- 提 供 者:
- tan****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设置桌面背景, (1)使用ChangingDesktop需要包含的一些头文件,以及进行初始化
在stdafx.h中
#include <afxwin.h>
#include <wininet.h> //添加这个。注意顺序,顺序乱了也编译不过
#include <afxext.h>
用了com的东西,要进行初始化,不用说了吧。
在CXXXApp::Initinstance中添加AfxOleInit()
使用CChangingDesktop的cpp中
#include <shlobj.h>
-Set the desktop background, (a) use ChangingDesktop need to include some of the header files, as well as to initialize the# include in stdafx.h <afxwin.h># include <wininet.h>// Add this. Note that the order, the order of chaotic, but also compiled# include <afxext.h> Com things used to initialize, not to mention the bar. In CXXXApp:: Initinstance adding AfxOleInit () use CChangingDesktop of cpp in the# include <shlobj.h>
在stdafx.h中
#include <afxwin.h>
#include <wininet.h> //添加这个。注意顺序,顺序乱了也编译不过
#include <afxext.h>
用了com的东西,要进行初始化,不用说了吧。
在CXXXApp::Initinstance中添加AfxOleInit()
使用CChangingDesktop的cpp中
#include <shlobj.h>
-Set the desktop background, (a) use ChangingDesktop need to include some of the header files, as well as to initialize the# include in stdafx.h <afxwin.h># include <wininet.h>// Add this. Note that the order, the order of chaotic, but also compiled# include <afxext.h> Com things used to initialize, not to mention the bar. In CXXXApp:: Initinstance adding AfxOleInit () use CChangingDesktop of cpp in the# include <shlobj.h>
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ChangingDesktop\ChangingDesktop.aps
...............\ChangingDesktop.clw
...............\ChangingDesktop.cpp
...............\ChangingDesktop.dsp
...............\ChangingDesktop.dsw
...............\ChangingDesktop.h
...............\ChangingDesktop.ncb
...............\ChangingDesktop.opt
...............\ChangingDesktop.plg
...............\ChangingDesktop.rc
...............\ChangingDesktopDlg.cpp
...............\ChangingDesktopDlg.h
...............\ReadMe.txt
...............\resource.h
...............\StdAfx.cpp
...............\StdAfx.h
...............\res\ChangingDesktop.ico
...............\...\ChangingDesktop.rc2
...............\Release\ChangingDesktop.exe
...............\Debug\ChangingDesktop.exe
...............\res
...............\Release
...............\Debug
ChangingDesktop
...............\ChangingDesktop.clw
...............\ChangingDesktop.cpp
...............\ChangingDesktop.dsp
...............\ChangingDesktop.dsw
...............\ChangingDesktop.h
...............\ChangingDesktop.ncb
...............\ChangingDesktop.opt
...............\ChangingDesktop.plg
...............\ChangingDesktop.rc
...............\ChangingDesktopDlg.cpp
...............\ChangingDesktopDlg.h
...............\ReadMe.txt
...............\resource.h
...............\StdAfx.cpp
...............\StdAfx.h
...............\res\ChangingDesktop.ico
...............\...\ChangingDesktop.rc2
...............\Release\ChangingDesktop.exe
...............\Debug\ChangingDesktop.exe
...............\res
...............\Release
...............\Debug
ChangingDesktop