CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2002
    Location
    Shanghai
    Posts
    39

    Unhappy how to retrieve the mousescrolling line on win95

    I used
    SystemParametersInfo (SPI_GETWHEELSCROLLLINES, 0, &ulScrollLines, 0) ; on win98/2000/XP,and it work well.But when i am on win95,it doesnt work.On msdn,SystemParametersInfo () doesnt support win95.
    can someone help me??
    HTML

  2. #2
    Join Date
    May 2002
    Location
    Poland
    Posts
    48
    Just use the default value (in this case 3) if the function fails.
    regards,
    MiMec

  3. #3
    Join Date
    May 2002
    Location
    Shanghai
    Posts
    39
    can you tell me some reason?
    HTML

  4. #4
    Join Date
    May 2002
    Location
    Poland
    Posts
    48
    Well... when they say something is unsupported under Win95, it means that it will fail if you try to do it. That's why you should always check the result and use some default value.
    regards,
    MiMec

  5. #5
    Join Date
    May 2002
    Location
    Shanghai
    Posts
    39
    but how can i get the mousescrolling line on win95?
    HTML

  6. #6
    Join Date
    May 2002
    Location
    Shanghai
    Posts
    39
    but how can I get the scrolling line
    HTML

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

Featured