在Win32 SDK中创建一些控件的时候需要注意一下(具体是哪些控件请参看MSDN文档中列出来的) [cpp] view plain copy /* MSDN:Carries information used to load common control classes from the * dyn Read More
posted @ 2016-10-26 23:27 findumars Views(611) Comments(1) Diggs(0)
[cpp] view plain copy // 枚举桌面上应用程序的lnk路径 void EnumDesktopLnkPath() { WCHAR szPath[MAX_PATH] = {0}; SHGetSpecialFolderPathW(NULL, szPath, CSIDL_DESKTOP Read More
posted @ 2016-10-26 23:26 findumars Views(504) Comments(0) Diggs(0)
[cpp] view plain copy /* MSDN: Any application that adds or removes fonts from the system font table should notify other windows of the change by send Read More
posted @ 2016-10-26 23:22 findumars Views(1875) Comments(0) Diggs(0)
[cpp] view plain copy [cpp] view plain copy [cpp] view plain copy if(dlg.GetSafeHwnd()) { dlg.ModifyStyle(WS_CAPTION, 0); // 去掉标题栏 dlg.ModifyStyleEx(W Read More
posted @ 2016-10-26 23:21 findumars Views(1025) Comments(0) Diggs(0)
[cpp] view plain copy void DumpEnvironmentStrings() { #define MAX_ENVIRONMENT_NAME_LENGTH (128) #define MAX_ENVIRONMENT_VALUE_LENGTH (1024) LPTSTR lps Read More
posted @ 2016-10-26 23:19 findumars Views(619) Comments(1) Diggs(0)
基于QT的换肤整体解决方案(QSkinStyle) 对QT这个成功的跨平台GUI库,本身内置了对换肤功能的实现,比如cleanlooks、plastique等跨平台风格;还有一些是和平台相关的风格,比如WindowsXP、WindowsVista风格只能用在windows平台上,底层也会调用uxth Read More
posted @ 2016-10-26 23:13 findumars Views(3476) Comments(0) Diggs(0)
#define REG_SHELL "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"#define REG_SHELL "HKEY_CURRENT_USER\\Soft Read More
posted @ 2016-10-26 22:02 findumars Views(1578) Comments(0) Diggs(0)
[cpp] view plain copy [cpp] view plain copy 这只是个简单的封装了Console相关的几个函数,关于更多的Console相关的控制,可以参考MSDN文档中的 http://blog.csdn.net/visualeleven/article/details/ Read More
posted @ 2016-10-26 20:51 findumars Views(854) Comments(0) Diggs(0)
[cpp] view plain copy [cpp] view plain copy [cpp] view plain copy // .cpp文件 #include "StdAfx.h" #include "DirectoryWatch.h" #include <strsafe.h> typed Read More
posted @ 2016-10-26 20:11 findumars Views(1391) Comments(0) Diggs(0)
2010/04/23:Fixes : 更新批处理,以兼容WIN7。 第一次系统地玩QT,于是诞生了此预备式: 【QT版本4.6.0(VS2008编译版),开发平台推荐使用Qt Creator(最新1.3版),系统这里使用Windows Xp】 QT & Qt Creator & MySql安装: Q Read More
posted @ 2016-10-26 18:52 findumars Views(1017) Comments(0) Diggs(0)
原文:http://blog.csdn.net/oowgsoo/article/details/1529284 我感觉oowgsoo兄弟写的分析相当透彻,赞! 1.试验代码: QObject是Qt类体系的唯一基类,就象MFC中的CObject和Dephi中的TObject,是Qt各种功能的源头活水, Read More
posted @ 2016-10-26 18:51 findumars Views(611) Comments(0) Diggs(0)
其实你的记事本已经打开了,只是你看不见而已,你看下进程里面是不是已经有notepad的进程了,WIN7中因为服务进程是运行在session0下面的~~第一个登录的用户session为1 winexec 和 shellexecute 都不行。都只是在进程里面创建 界面上跳不出来 感谢各位的热心帮助问题 Read More
posted @ 2016-10-26 16:02 findumars Views(881) Comments(0) Diggs(0)