http://msdn.microsoft.com/msdnmag/issues/02/11/CQA/default.aspx
http://www.vckbase.com/document/viewdoc/?id=498以上两篇文章都介绍了,如何实现系统托盘的气球提示。可如何在VC6.0中进行编译啊(上述文章给出的代码都是VC6.0的。)?VC6.0的Shell32.Lib不包含Windows2000以后的一些函数,我用VC2003的Shell32.Lib与ShellAPI.h替换了,都不能正常通过编译.在stdafx.h文件开头加了#define _WIN32_IE 0x0500也不行。哪位能给我编译的具体方案啊(实现在VC6.0中编译?)
http://www.vckbase.com/document/viewdoc/?id=498以上两篇文章都介绍了,如何实现系统托盘的气球提示。可如何在VC6.0中进行编译啊(上述文章给出的代码都是VC6.0的。)?VC6.0的Shell32.Lib不包含Windows2000以后的一些函数,我用VC2003的Shell32.Lib与ShellAPI.h替换了,都不能正常通过编译.在stdafx.h文件开头加了#define _WIN32_IE 0x0500也不行。哪位能给我编译的具体方案啊(实现在VC6.0中编译?)
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
MainFrm.cpp
StatLink.cpp
Subclass.cpp
TrayIcon.cpp
TrayTest.cpp
Generating Code...
Linking...
Creating browse info file...TrayTest.exe - 0 error(s), 0 warning(s)
我的编译环境是VC6.0+XP
Compiling...
Mainfrm.cpp
c:\c++qa_1102\traytest\trayicon.h(34) : error C2065: 'NIIF_INFO' : undeclared identifier
TrayIcon.CPP
c:\c++qa_1102\traytest\trayicon.h(34) : error C2065: 'NIIF_INFO' : undeclared identifier
C:\C++QA_1102\TrayTest\TrayIcon.CPP(122) : error C2065: 'NIF_INFO' : undeclared identifier
C:\C++QA_1102\TrayTest\TrayIcon.CPP(123) : error C2039: 'uTimeout' : is not a member of '_NOTIFYICONDATAA'
d:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
C:\C++QA_1102\TrayTest\TrayIcon.CPP(124) : error C2039: 'dwInfoFlags' : is not a member of '_NOTIFYICONDATAA'
d:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
C:\C++QA_1102\TrayTest\TrayIcon.CPP(125) : error C2039: 'szInfo' : is not a member of '_NOTIFYICONDATAA'
d:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
C:\C++QA_1102\TrayTest\TrayIcon.CPP(126) : error C2039: 'szInfoTitle' : is not a member of '_NOTIFYICONDATAA'
d:\program files\microsoft visual studio\vc98\include\shellapi.h(500) : see declaration of '_NOTIFYICONDATAA'
TrayTest.cpp
c:\c++qa_1102\traytest\trayicon.h(34) : error C2065: 'NIIF_INFO' : undeclared identifier
Generating Code...
Error executing cl.exe.TrayTest.exe - 8 error(s), 0 warning(s)