原来 yygw 大侠早有指示:设置完成后要刷新显示才行。<br>(这次忘记先查离线包。以此为戒,下不为例。)<br>---------------------------------------------------------------------------<br>来自:yygw 时间:2001-10-17 20:40:00 ID:678380 <br><br>//取平滑设置<br>function GetFontSmoothing: Boolean;<br>var<br> IsSmoothing: LongBool;<br>begin<br> SystemParametersInfo(SPI_GETFONTSMOOTHING, 0, @IsSmoothing, 0);<br> Result := IsSmoothing;<br>end;<br><br>//置平滑设置<br>procedure SetFontSmoothing(Smoothing: Boolean);<br>var<br> IsSmoothing: LongBool;<br>begin<br> IsSmoothing := Smoothing;<br> SystemParametersInfo(SPI_SETFONTSMOOTHING, Cardinal(IsSmoothing), nil, SPIF_SENDCHANGE);<br>end;<br><br>注:在设置后,应刷新显示重绘文本。