hwnd (HWND) - input

      Window handle.

    pswp (PSWP) - output

      SWP structure.

      The fields are set such that a call to WinSetWindowPos with those values sets the window to its current size and position, with the exception of the fl bits which are set as follows:

      • SWP_MOVE and SWP_SIZE are set to TRUE. 
          SWP_ACTIVATE and SWP_DEACTIVATE, are set to the current state of the window.
        
          If the window is minimized, SWP_MINIMIZE, is set and SWP_MAXIMIZE, is zero.
        
          If the window is maximized, SWP_MAXIMIZE, is set and SWP_MINIMIZE, is zero.
        
          If the window is neither minimized nor maximized, both SWP_MINIMIZE, and SWP_MAXIMIZE, are zero.
        
          All other bits are set to zero.

        rc (BOOL) - returns

          Success indicator.

          TRUE

            Successful completion
          FALSE
            Error occurred.


          [Back] [Next]