Autor Beitrag
>M@steR<
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Fr 15.04.05 09:38 
Gelöscht


Zuletzt bearbeitet von >M@steR< am Di 17.09.13 00:15, insgesamt 1-mal bearbeitet
demo88
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Ubuntu 6.04, Win XP
Delphi 7
BeitragVerfasst: Fr 15.04.05 11:17 
Probier es mal mit dem Code:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure SetBackground(const AFilename: String);
begin
 if not SystemParametersInfo(SPI_SETDESKWALLPAPER,
                             0,
                             PChar(AFilename),
                             SPIF_SENDCHANGE OR SPIF_UPDATEINIFILE) then
   RaiseLastOSError;
End;

_________________
"Das ist kein Bug, das ist ein Feature..."
>M@steR< Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Fr 15.04.05 14:20 
Gelöscht


Zuletzt bearbeitet von >M@steR< am Di 17.09.13 00:15, insgesamt 1-mal bearbeitet
demo88
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Ubuntu 6.04, Win XP
Delphi 7
BeitragVerfasst: Fr 15.04.05 14:40 
lass das refersh desktop doch vielleicht mal weg^^

_________________
"Das ist kein Bug, das ist ein Feature..."
>M@steR< Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Sa 16.04.05 13:18 
Gelöscht


Zuletzt bearbeitet von >M@steR< am Di 17.09.13 00:15, insgesamt 1-mal bearbeitet
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 16.04.05 14:39 
Für JPEGs muss der Active Desktop aktiv sein. Eine Routine gibt´s von jaenicke in den FAQs. Und jetzt sag nicht: "Wenn ich im IE ein JPEG-Bild rechts anklicke und als Hintergrundbild speichere, dann klappt das ja auch." Ja, aber nur weil der IE das Bild als BMP "zwischenspeichert". :)