BOOL SetWindowPos(
  HWND hWnd,             // handle to window
  HWND hWndInsertAfter,  // placement-order handle
  int X,                 // horizontal position
  int Y,                 // vertical position
  int cx,                // width
  int cy,                // height
  UINT uFlags            // window-positioning options
);
中的参数x,y指的是什么,没明白....

解决方案 »

  1.   

    xSpecifies the new position of the left side of the window.ySpecifies the new position of the top of the window.
      

  2.   

    其实lz都看到了msdn的函数原型,下面有参数解释的啊
      

  3.   

    左上角坐标值啊  horizontal   position    vertical   position 
      

  4.   

    呵呵,x,y是坐标啊,只是与我们平时用的正坐标不同,而是自左向右为x正向,自上向下是y正向.
    cx,cy是窗口的长度和宽度.
      

  5.   

    我没看到这句个作最后一个参数里的
    SWP_NOMOVE     Retains the current position (ignores the X and Y parameters). 谢谢大家