毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> 开发语言 >> 正文

托盘中气球提示的实现显示不了气球 第2页

更新时间:2012-7-1:  来源:毕业论文

/////////////////////////////////////////////////////////////////////////////////////////////////////////////想实现当窗口最小化的时候出现气球提示.
NIF_INFO使得4个成员变量有效,MSDN中如是说。
请大家帮忙看看是不是哪里还有问题,先说3Q!
note.hIcon=LoadIcon(NULL,MAKEINTRESOURCE(IDI_APPLICATION));
win7测试成功,应该是版本问题


Several members of this structure are only supported for Windows 2000 and later. To enable these members, include one of the following lines in your header: 

Windows Vista and later:
#define NTDDI_VERSION NTDDI_WIN2K
#define NTDDI_VERSION NTDDI_WINXP
#define NTDDI_VERSION NTDDI_VISTA

Windows XP and earlier:
#define _WIN32_IE 0x0500
#define _WIN32_IE 0x0600

 

You can maintain application compatibility with all Shell32.dll versions while still using the current header files by setting the size of the NOTIFYICONDATA structure appropriately. Before you initialize the structure, use DllGetVersion to determine which Shell32.dll version is installed on the system and initialize cbSize with one of these values:

Shell32.dll Version cbSize 
6.0.6 or higher (Windows Vista and later) sizeof(NOTIFYICONDATA) 
6.0 (Windows XP) NOTIFYICONDATA_V3_SIZE 
5.0 (Windows 2000) NOTIFYICONDATA_V2_SIZE 
Versions lower than 5.0 NOTIFYICONDATA_V1_SIZE 
如果mz_dong兄在WIN7测试成功的话,那就应该是系统版本支持问题,修改_WIN32_WINNT定义如下

C/C++ code
//XP 0x0501
#define _WIN32_WINNT 0x0501

上一页  [1] [2] 

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©chuibin.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。