Forum: Win32/Win64 API (native code)
Delphi
by E307,
19. Mär 2007
Hallo!? Geht das überhaupt?
______________________________________________________________________________________________________
James and John wake up. They look out of the window and see a lion. The lion is coming nearer. James puts his trainers on. John asks: Why are you doing that? You are not faster than the lion! James: I don't have to be faster than the lion. I must only be faster than...
Forum: Win32/Win64 API (native code)
Delphi
by E307,
18. Mär 2007
So müsste ich das Bild immer auf der Fesplatte vorher speichern, was warscheinlich sehr langsam ist. Geht das vielleicht anders?
Forum: Win32/Win64 API (native code)
Delphi
by E307,
17. Mär 2007
procedure TForm1.ChangeWallpaper;
var s : String;
a : Array of Char;
begin
s := 'C:\Test.bmp';
if FileExists(s) then begin
StrPCopy(a, s);
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, @a, SPIF_UPDATEINIFILE);
end;
end;
Forum: Win32/Win64 API (native code)
Delphi
by E307,
16. Mär 2007
Kann man vielleicht das Desktop-Bild auch aus dem Arbeitsspeicher laden lassen? Dann könnte man einfach in ein Bitmap zeichnen und dieses dann als Wallpaper darstellen!
Forum: Win32/Win64 API (native code)
Delphi
by E307,
15. Mär 2007
Aber dann liegt das Bitmap doch wieder über den Desktop-Icons! Oder habe ich das falsch verstanden?
Forum: Win32/Win64 API (native code)
Delphi
by E307,
18. Feb 2007
So ein Monolog ist nicht schön! :-D Hat keiner eine Idee :shock:
Forum: Win32/Win64 API (native code)
Delphi
by E307,
17. Feb 2007
*schieb* Weis keiner, wo der Fehler liegen könnte?
Forum: Win32/Win64 API (native code)
Delphi
by E307,
8. Feb 2007
Wenn ich das Objekt so erstelle:
XD:=TDDOverlay.Create(1,1,clBlack);
Kommt die Meldung: "Your hardware doesn't support the surface we're trying to create" oderso. Das kann aber eigentlich nicht sein. Meine Grafikkarte: NVIDIA GeForce 7600 GS
Forum: Win32/Win64 API (native code)
Delphi
by E307,
8. Feb 2007
Ja, das kenne ich schon. Bei mir kommt die Meldung: "Creation of flippable overlay Surface failed", wenn ich das Objekt erstelle:
XD:=TDDOverlay.Create(1024,768,clBlack);