首页上一页 1  下一页尾页 3 条记录 1/1页
        关于WM_TRARMESSAGE消息的一些问题
                 	
                        发表在C语言图书答疑
                        2010-10-21                                                
                    		
                                                                            	
                        
                        
                    
                    
                    	是否精华
                    	是
                    	否
                    
                    
                    
                            版块置顶:
                            是
                            否
                        
                    
                                           就是《Visua C++ 范例完全自学手册》,实例007课后第二个作业,是一个关于托盘的程序,光盘位置为 mr\01\007\sj\02,工程名为TrayPopMenu,我自己重写了下代码,但是编译时有错,就是
--------------------Configuration: TrayPopupMenu - Win32 Debug--------------------
Compiling...
TrayPopupMenuDlg.cpp
F:\自学VC++程序\TrayPopupMenu\TrayPopupMenuDlg.cpp(89) : error C2065: 'WM_TRARMESSAGE' : undeclared identifier
Error executing cl.exe.
TrayPopupMenu.exe - 1 error(s), 0 warning(s)
代码中一处是消息映射宏ON_MESSAGE(WM_TRARMESSAGE,OnTrayMessage),还有一处是 NOTIFYICONDATA m_traydata;m_traydata.uCallbackMessage = WM_TRARMESSAGE;我的跟源代码是一样的,可编译时就识别不了WM_TRARMESSAGE,源代码中也没定义这个消息啊,为什么?
                
        	
        
        
    --------------------Configuration: TrayPopupMenu - Win32 Debug--------------------
Compiling...
TrayPopupMenuDlg.cpp
F:\自学VC++程序\TrayPopupMenu\TrayPopupMenuDlg.cpp(89) : error C2065: 'WM_TRARMESSAGE' : undeclared identifier
Error executing cl.exe.
TrayPopupMenu.exe - 1 error(s), 0 warning(s)
代码中一处是消息映射宏ON_MESSAGE(WM_TRARMESSAGE,OnTrayMessage),还有一处是 NOTIFYICONDATA m_traydata;m_traydata.uCallbackMessage = WM_TRARMESSAGE;我的跟源代码是一样的,可编译时就识别不了WM_TRARMESSAGE,源代码中也没定义这个消息啊,为什么?

 
	
                                                 VIP会员
VIP会员 购物车
购物车

 私信
                         私信 
                     发表新帖
发表新帖 立即签到
立即签到 
        		  
        		 
         		 关注
关注
                  回复
 回复 支持(
                	支持( 反对(
                    反对( 
               			  
                







 
                     
                     
					 
						 
						 
						 
						