?
在 WM_PAINT中画4个不就行了.
有何疑问?

解决方案 »

  1.   

    谢谢指点,但每个图形都应有独立的窗口,请问在Dialog中是否有支持绘制图形的控件?
      

  2.   

    这个我觉得最好还是用autocad来做,autocad也支持vc的了现在好像,
    具体你可以参看autocad的资料~~~
      

  3.   

    你的多个窗口是分视还是多个Dialog...
    如果是分视, 每个View的OnDraw函数处理相应的图形输出就可以了...
    如果是多个Dialog, 每个Dialog的OnPint能够相应输出, 不过最好你的Dialog是无模式对话框...
      

  4.   

    use the multithread. please notify.
    the resouce of the window just can be
    access by only one thread. 
    so you must built daemon thread to liston
    all draw event and do the drawing action as
    these event.
    every draw thread just do send event to the 
    daemon thread.
    this disign can act for multi pen draw on the 
    windows. hope you can master it.
    your's jansen.
      

  5.   

    1.首先使用窗口静态分割技术,将视图分为4个部分,每个部分分别对应不同的子视图
    ,每个子视图里编写各自的OnDraw()函数就行了。微软控件Mschart.ocx可以帮忙