Function IsAppThemed: Boolean; external 'uxtheme.dll';
Function FreeLibrary: Integer; external 'kernel32.dll';html
Function SupportThemeSystem: Boolean;
var
lngLibHandle: THandle;
begin
Result := false;
lngLibHandle := LoadLibrary('uxtheme.dll');
Result := true;
if lngLibHandle <> 0 then
begin
Result := IsAppThemed;
end;
end;post
//返回值爲True時,是使用了視覺樣式翻譯
//由songyaowu的VB代碼翻譯而來的htm