rect.left +=0;
rect.top += 50;
rect.right -= 0;
rect.bottom -=0;

解决方案 »

  1.   

    这4句里面,只有rect.top += 50; 有意义,也就是:rect.top = rect.top+50; 
    其它的都与0加减,不变!
      

  2.   

    rect.left +=50; 
    rect.top += 50; 
    rect.right -= 50; 
    rect.bottom -=50;这些意义都是相同的吗
      

  3.   

    rect.left +=0; 矩形左上角x坐标不变
    rect.top += 50; 矩形左上角y坐标+50
    rect.right -= 0; 矩形右下角x坐标不变
    rect.bottom -=0;矩形右下角y坐标不变
      

  4.   

    ////右移xxx,宽度不变,下移50,高度改变
    rect.left +=xxx; 
    rect.top += 50; 
    rect.right += xxx; 
    rect.bottom -=0;
      

  5.   

    哎,差不多明白你是咋回事了。CRect只是代表数据而已,你怎么变它,与你看到的没关系,你要看到,得设置,如SetWindowRect...