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??
Printable View
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??
Just use the default value (in this case 3) if the function fails.
can you tell me some reason?
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.
but how can i get the mousescrolling line on win95?
but how can I get the scrolling line