Results 1 to 2 of 2

Thread: Turn Mouse Trail On and Off using API

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 1999
    Posts
    24

    Post

    how can i turn on the mouse trail using API... from a nice little vb program... please hurry... i would like to know


  2. #2
    Junior Member
    Join Date
    Jun 1999
    Location
    Papillion, NE, USA
    Posts
    21

    Post

    Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long

    Public Const SPI_SETMOUSETRAILS = 93
    Dim MTrailCount As Integer
    Dim RetCode As Long

    'To disable the feature, set the MTrailCount parameter to zero or 1. To enable the feature, set MTrailCount to a value greater than 1 to indicate the number of cursors drawn in the trail.

    MTrailCount = 15

    RetCode = SystemParametersInfo (SPI_SETMOUSETRAILS, MTrailCount, 0, VbNull)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width