setting scroll lines under Win98 ???
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I need to set the number of scroll lines under Win98 Below is my code. Why it does not work ? int m_nCur; //the number of lines SystemParametersInfo(SPI_SETWHEELSCROLLLINES, m_nCur, NULL, NULL); SystemParametersInfo(SPI_SETWHEELSCROLLLINES, m_nCur, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE); I set the forth parameter 'NULL' but it doesn't work. If set it 'SPIF_SENDCHANGE | SPIF_UPDATEINIFILE', the system hanged. Why??? Or could you show me sample code??