本文介绍了MFC中Windows位置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个sdi项目.我试图通过创建一个单独的(CLine)类来画一条线.我的基类是CScrollView.从scrollview我通过创建一个对象来调用CLine类的成员函数.我在运行时遇到断言错误,并且在调整大小时行也超出了窗口.我的问题是CLIne的基类是什么,以及如何使用视图管理行位置,请问有谁可以帮我...

Hai all,

I have a sdi project.In that i am trying to draw a line by creating a seperate (CLine)class.My base class is CScrollView.From the scrollview i am calling the member function of CLine class by creating an object.But i am getting assertion error while running and also line is going out of the window when i resize it.My question is what should be the base class of CLIne and how to mange with line position with view,Pls can any one help me...

推荐答案


这篇关于MFC中Windows位置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 17:44