[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  MoveWindow( hWnd, nLeft, nTop, nWidth, nHeight, lRepaint ) -> <lSuccess>
--------------------------------------------------------------------------------


 PARAMETER:

  <hWnd>             Is the handle that identifies the window

  <nLeft>,<nTop>     The new origin position coordinates

  <nWidth>,<nHeight> The new dimensions (if specified)

  <lRepaint>         Specifies whether the window is to be repainted. 
                     If this parameter is TRUE, the window receives a 
                     WM_PAINT message as usual. If it is FALSE, no
                     repainting of any kind occurs.


 RETURNS:

 <lSuccess> is TRUE, if the operation was successfully completed.



 DESCRIPTION:

  MoveWindow() changes the position and dimensions of a window. 
  For top-level windows, the position and dimensions are relative to the 
  upper-left corner of the screen. For child windows, they are relative to
  the upper-left corner of the parent window's client area. 

  Before the Window is moved, MoveWindow() sends a WM_GETMINMAXINFO 
  message to the window, giving it an opportunity to modify the default
  values for the largest and smallest possible windows. If the MoveWindow 
  parameters exceed these values, they will be replaced by the minimum or
  maximum values specified in the WM_GETMINMAXINFO message. 

  
 SOURCE:

  SOURCE\WINAPI\WNDMOVE.C



See Also: Move
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson