首页上一页 1  下一页尾页 1 条记录 1/1页
        VC++中MFC问题!
                 	
                        发表在C语言图书答疑
                        2013-03-21                                                
                    		
                                                                            	
                        
                        
                    
                    
                    	是否精华
                    	是
                    	否
                    
                    
                    
                            版块置顶:
                            是
                            否
                        
                    
                                           vc++从入门到精通第三版这本书,第七章设置静态文本控件文本颜色那里,为什么这简单的程序我按照视频来都运行不了啊,真心很郁闷啊!!!
if(nCtlColor == CTLCOLOR_STATIC)
PDC->SetTextColor(RGB(255,0,0));
C:\Documents and Settings\All Users\桌面\cc\ccDlg.cpp(179) : error C2065: 'PDC' : undeclared identifier
C:\Documents and Settings\All Users\桌面\cc\ccDlg.cpp(179) : error C2227: left of '->SetTextColor' must point to class/struct/union
执行 cl.exe 时出错.
                
        	
        
        
    if(nCtlColor == CTLCOLOR_STATIC)
PDC->SetTextColor(RGB(255,0,0));
C:\Documents and Settings\All Users\桌面\cc\ccDlg.cpp(179) : error C2065: 'PDC' : undeclared identifier
C:\Documents and Settings\All Users\桌面\cc\ccDlg.cpp(179) : error C2227: left of '->SetTextColor' must point to class/struct/union
执行 cl.exe 时出错.

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

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







 
                     
                     
					 
						 
						 
						 
						