我见过的例子全是在OnDraw中画出来的,我对VC7不是很熟悉,如果能给个例子更好

解决方案 »

  1.   

    从零散的资料中,看到好像要用到:
    “可编辑的子窗口”,“重载COleControl::CreateControlWindow函数”
    但具体怎么做,还是不大清楚
      

  2.   

    也用过:
    http://dev.hackbase.com/hackbase11/how308249.htm中介绍的方法,但是不行
      

  3.   

    编译后,向界面加载控件时,提示:
    Debug Assertion Failed!
    Progrm:...\Microsoft Visual Studio .Net 2003\Common7\IDE\Devenv.exe
    File:winocc.cpp
    Line:308For infotion on how you programe can cause an assertion
    failue,see the Visual C++ documentation oa asserts(press retry to debug the appliction)