摘要: void CMyDicomViewerView::OnMouseMove(UINT nFlags, CPoint point){// TODO: 在此添加消息处理程序代码和/或调用默认值if(beginX != 0 && beginY != 0){int xCount = point.x - beginX;int yCount = point.y - beginY;if(abs(x... 阅读全文
posted @ 2009-08-24 16:29 南守拥 阅读(750) 评论(0) 推荐(0) 编辑
摘要: struct ImageInfo{BITMAPINFO header;void* image;ImageInfo(){image = NULL;}~ImageInfo(){if(image!=NULL){delete image;image = NULL;}}};结果是当进入函数体就会实例化,而不是执行到它!所以路途退出时,出会析构错误!呵呵 阅读全文
posted @ 2009-08-24 16:00 南守拥 阅读(466) 评论(0) 推荐(0) 编辑