李sir_Blog

博客园 首页 联系 订阅 管理

2010年6月24日

摘要: http://msdn.microsoft.com/zh-cn/magazine/cc301850(en-us).aspxSUMMARY Networked applications must deal with a host of connection problems ranging from timeouts to congestion to unavailability. If these... 阅读全文
posted @ 2010-06-24 14:26 李sir 阅读(994) 评论(0) 推荐(0)

摘要: 下载本文中所用的代码: PowerAware2007_07.exe (360 KB) http://msdn.microsoft.com/zh-cn/magazine/cc163386.aspx浏览在线代码 目录 现有任务 代码概述 系统电源更改通知 PowerModeChanged 事件和处理程序 捕获 WM_POWERBROADCAST 窗口消息 在 Windows Vista 上注册通知 ... 阅读全文
posted @ 2010-06-24 14:23 李sir 阅读(590) 评论(0) 推荐(0)

摘要: Applications can better adapt their behavior to the current power state of the computer by registering for power events. Using the RegisterPowerSettingNotification function, applications can receive P... 阅读全文
posted @ 2010-06-24 14:17 李sir 阅读(519) 评论(0) 推荐(0)

摘要: http://www.owlei.com/DancingWind/Course/Tutorial_01.htm这个网址是个牛人翻译的教程。很值得学习opengl编程指南——好书1:openGL开发环境配置OpenGL(全写Open Graphics Library)是个定义了一个跨编程语言、跨平台的编程接口的规格,它用于三维图象(二维的亦可)。OpenGL是个专业的图形程序... 阅读全文
posted @ 2010-06-24 10:26 李sir 阅读(1735) 评论(0) 推荐(0)

摘要: 在.NET相关领域的开发中,用户界面主要由Windows Forms或者Web Forms实现。虽然Windows Forms已经出现了很多年,也提供了快速、高效的功能。但是,Windows Forms开发的UI界面相对比较单调,而且经过.NET Framework封装后的开发库在自定义和各种底层功能上缺少真正的支持。WPF与Win32、WinFormsGDI是当今Window桌面应用程序的主流图... 阅读全文
posted @ 2010-06-24 09:25 李sir 阅读(457) 评论(0) 推荐(0)

摘要: 1:添加头文件:  #include <GdiPlus.h>  加载库文件:  #pragma comment(lib,"gdiplus.lib") //也可以在设置中添加  使用名字空间(可无):  using namespace Gdiplus;  定义用到的两变量:  GdiplusStartupInput m_gdiplusStartupInput;//gdi+版本信息、调试的... 阅读全文
posted @ 2010-06-24 09:24 李sir 阅读(3461) 评论(0) 推荐(0)