您的位置:程序门 -> vc/mfc -> 界面



多文档一个问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


多文档一个问题
发表于:2007-04-05 22:37:29 楼主
void   cmybrowserview::onmousemove(uint   nflags,   cpoint   point)
{
//   todo:   add   your   message   handler   code   here   and/or   call   default
cstring   str;
str.format( "x=%d,y=%d ",point.x,point.y   );
getparent()-> getdescendantwindow(afx_idw_status_bar)-> setwindowtextw   (str);

cformview::onmousemove(nflags,   point);
}
以上代码是多文档   view类中的,编译没错,运行会出错,中断
为什么啊?
发表于:2007-04-05 22:58:411楼 得分:0
getparent()-> getdescendantwindow(afx_idw_status_bar)-> setwindowtextw   (str);
有错误吧


快速检索

最新资讯
热门点击