Autor Beitrag
kongreddgrass
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Di 05.08.03 20:58 
Hi ich hab folgendes Problem
ich will einen Zufallsgenerator machen, der dann das Hintergrundbild ändert. Aber ich check des net.
Für den Generator brauch ich ...random... stimmts?
Für den zu ändernden Hintergrund find ich nix. :shock:
Könnts ihr mir weiterhelfen?

_________________
o.o
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Di 05.08.03 21:41 
Hi,

ich nehme an du meinst das Windows Hintergrundbild, oder??

ausblenden Delphi-Quelltext
1:
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0'C:\bla\...\MyBG.bmp', SPIF_SENDCHANGE OR SPIF_UPDATEINIFILE);					

Hiermit kannst du allerdings nur BMP Dateien als hintergrundbild machen. (Für alles andere brauchst du den ActiveDesktop)

Au'revoir,
Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
kongreddgrass Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 238

Win 98, Win 2000, Win Xp Prof.,Linux 8.2 Prof
Delphi 6
BeitragVerfasst: Mi 06.08.03 09:53 
Hi
Danke ich hab schon den Windows Hintergrund gemeint
Danke für dieses :dance: :dance2: :dance: :lol: :wink: :D :beer:
Mike

_________________
o.o