hwnd (HWND) - input

      Handle of window in which cursor is displayed.

      This must be the handle of a window for which the application can receive input.

    lx (LONG) - input

      x-position of cursor.

    ly (LONG) - input

      y-position of cursor.

    lcx (LONG) - input

      x-size of cursor.

      If 0, the system nominal border width (SV_CXBORDER) is used.

    lcy (LONG) - input

      y-size of cursor.

      If 0, the system nominal border height (SV_CYBORDER) is used.

    ulrgf (ULONG) - input

      Controls the appearance of the cursor.

      CURSOR_SOLID

        The cursor is solid.
      CURSOR_HALFTONE
        The cursor is halftone.
      CURSOR_FRAME
        The cursor is a rectangular frame.
      CURSOR_FLASH
        The cursor flashes.
      CURSOR_SETPOS
        Set a new cursor position. lcx and lcy are ignored. Used when a cursor has already been created. In this case, all other appearance flags are ignored.

      prclClip (PRECTL) - input

        Cursor rectangle.

        A rectangle within which the cursor is visible. If the cursor goes outside this rectangle, it is clipped away and is invisible.

        The rectangle is specified in window coordinates.

        If prclClip is NULL, the drawing of the cursor is clipped to the window rectangle of hwnd.

        Note: The cursor is always clipped to the window rectangle, even if part of prclClip is outside it.

        The value of each field in this structure must be in the range -32 768 through 32 767. The data type WRECT can also be used, if supported by the language.

      rc (BOOL) - returns

        Success indicator.

        TRUE

          Successful completion
        FALSE
          Error occurred.


        [Back] [Next]