up one up...
how come no one have a look...please don't waste the 200 points..
only leave a comment about it.. ^_^

解决方案 »

  1.   

    why can't i update the topic......?????
    up again...
      

  2.   

    HBRUSH CGDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) 
    {
    HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
    if(pWnd->GetDlgCtrlID()==IDC_SCROLLBAR1)
    {
     hbr=::CreateSolidBrush(RGB(255,0,0));
        }

    return hbr;
    }
    可以改为红色
      

  3.   

    ygd(ygd) : that is the shaft color not the whole scrollbar's color..
    i have tried this..
      

  4.   

    last up ..
    and give point on 19-12.
      

  5.   

    masterz() : 
    if use subclass, you will take all the drawing jobs. 
    i have thought about using the bitblt to convert the color of the scrollbar, but
    it is difficult to find out a solution to convert the color, i am not good at 
    color. 
    Anyway, i have written a scrollbar myself that can do anything i want.
    thank all above. 
    take your points.