This project is read-only.

compile error

I download version38519,but i can't compile it with error C1083: Cannot open include file: 'gesture.h'. I can't find this file in my computer or in the internet.

Id #6815 | Release: None | Updated: Feb 13, 2013 at 1:53 AM by tjololo | Created: Jun 4, 2010 at 11:16 AM by tjololo

封装下拉框控件

在实现Weather Panel时,需要使用到下拉框配置控件,封装该控件。

Id #5994 | Release: None | Updated: Nov 27 at 8:30 PM by JakeLin | Created: Feb 9, 2010 at 10:35 PM by JakeLin

封装Webserivce的公共库功能

为了实现Weather Panel,需要封装Webserivce的公共库。

Id #5993 | Release: None | Updated: Nov 27 at 8:30 PM by JakeLin | Created: Feb 9, 2010 at 10:34 PM by JakeLin

新增Weather Panel

新增一个天气预报的Panel

Id #5992 | Release: None | Updated: Nov 27 at 8:30 PM by JakeLin | Created: Feb 9, 2010 at 10:31 PM by JakeLin

内存泄露

严重设计Bug   第7项的bug源于该bug。   PanelBase.cpp中的m_hPublicMemoryDC和m_hPublicSwitchMemoryDC为静态函数。而在非静态函数InitMemoryDC中进行了初始化,那么PanelBase基类的继承类每次都会为m_hPublicMemoryDC和m_hPublicSwitchMemoryDC分配一次DC,造成严重内存泄露。

Id #5867 | Release: None | Updated: Nov 27 at 8:30 PM by lisencool | Created: Jan 29, 2010 at 6:55 AM by JakeLin

“存储空间不足,无法处理此命令”错误

PicturePanel.cpp中的InitMemoryDC函数中的CreateCompatibleBitmap函数在HTC的Touch HD T8282机型中总是失败,调用GetLastError返回值为8,错误信息为“存储空间不足,无法处理此命令”。   该款手机分辨率为480800,m_hMemoryDC_Height变量的值为1728,因此一次分配的空间为1728480 Bytes,...

Id #5866 | Release: None | Updated: Feb 13, 2013 at 1:54 AM by JakeLin | Created: Jan 29, 2010 at 6:55 AM by JakeLin

使用vfwprintf代替vfprintf

LogUtility.cpp的实现中   vfprintf(fpLog, format, args);   应修改为:   vfwprintf(fpLog, format, args);   原因:   void DebugPrintString(const TCHAR *format, ... )   函数提供的参数format为Unicode字符。   ...

Id #5865 | Release: None | Updated: Feb 13, 2013 at 1:54 AM by JakeLin | Created: Jan 29, 2010 at 6:54 AM by JakeLin

使用RegistryNotifyWindow代替SetTimer

在HomePanel中更新时间是通过SetTimer来完成,这有些不妥。建议使用RegistryNotifyWindow和如下标志:   define SN_DATE_ROOT HKEY_LOCAL_MACHINE define SN_DATE_PATH TEXT("System\State\DateTime") define SN_DATE_VALUE TEXT("Date")   来定时...

Id #5864 | Release: None | Updated: Nov 27 at 8:30 PM by lisencool | Created: Jan 29, 2010 at 6:54 AM by JakeLin

初始化lfSystemFont对象

GraphicFunctions.cpp文件中的DrawStringData函数,在对LOGFONT定义的lfSystemFont对象的初始化中建议添加对成员lfQuality的初始化,原文中没有改初始化。如下:   lfSystemFont.lfQuality = CLEARTYPE_QUALITY;   该变量控制绘制文字的质量,建议设置为CLEARTYPE_QUALITY类型,但需要注...

Id #5863 | Release: None | Updated: Nov 27 at 8:30 PM by lisencool | Created: Jan 29, 2010 at 6:53 AM by JakeLin

在Macros.h头文件中添加下面3个宏,可以更清楚的理解释放的资源

建议在Macros.h头文件中添加下面3个宏,可以更清楚的理解释放的资源   增加定义:   define SAFE_RELEASE(s) \   if (s != NULL) { s->Release(); s = NULL;}   define SAFE_DELETE(s) \   if (s != NULL) { delete(s); s = NULL;}   defi...

Id #5861 | Release: None | Updated: Nov 27 at 8:30 PM by lisencool | Created: Jan 29, 2010 at 6:52 AM by JakeLin