hwnd (HWND) - input

      Window handle where tracking is to take place.

      It is assumed that the style of this window is not WS_CLIPCHILDREN.

      HWND_DESKTOP

        Track over the entire screen
      Other
        Track over specified window only.

      hps (HPS) - input

        Presentation-space handle.

        Used for drawing the clipping rectangle:

        NULLHANDLE

          The hwnd parameter is used to calculate a presentation space for tracking. It is assumed that tracking takes place within hwnd and that the style of this window is not WS_CLIPCHILDREN. Thus, when the drag rectangle appears, it is not clipped by any children within the window. If the window style is WS_CLIPCHILDREN and the application causes the drag rectangle to be clipped, it must explicitly pass an appropriate presentation space.
        Other
          Specified presentation-space handle.

        ptiTrackinfo (PTRACKINFO) - in/out

          Track information.

        rc (BOOL) - returns

          Success indicator.

          TRUE

            Tracking successful.
          FALSE
            Tracking canceled, or the pointing device was already captured when this function was called.

            Only one tracking rectangle can be in use at one time.


          [Back] [Next]