我现在要实现实时的采取数据,根据采集到的数据现在在如同垂直的进度条一样,从下往上显示数据变化。这样我能够用进度条实现吗?是否有别的更好的方法呢??????

解决方案 »

  1.   

    把style设置成vertical,其余的style不选
      

  2.   

    这个画,有一个3DBar也很好的,可以用的
      

  3.   

    自绘http://www.codeguru.com/Cpp/controls/controls/slidercontrols/article.php/c2313/
      

  4.   

    BOOL Create( 
    DWORD dwStyle, 
    const RECT& rect, 
    CWnd* pParentWnd, 
    UINT nID ); 
    Return ValueTRUE if the CProgressCtrl object is successfully created; otherwise, it is FALSE.Parameters dwStyle 
    Specifies the style of the progress bar control. Apply any combination of window styles described in CreateWindow, in addition to the following progress bar control styles, to the control: 
    PBS_VERTICAL   Displays progress information vertically, top to bottom. Without this flag, the progress bar control displays horizontally, left to right. 
    PBS_SMOOTH   Displays gradual, smooth filling in the progress bar control. Without this flag, the control will fill with blocks
    PBS_VERTICALD在创建的指定,也可自绘。