Screensaver messing up icons

Blitz3D Forums/Blitz3D Beginners Area/Screensaver messing up icons

Aussie(Posted 2011) [#1]
Hey everyone.

I have created a screensaver & tested it on Windows XP & Vista. It ran fine on the XP & shut down fine, but on Vista when it shut down all the desktop icons had been rearanged. Has anyone had this happen & what would be the cause.

If someone could take a look at the code it would be much apreciated.
Cheers.




Ross C(Posted 2011) [#2]
Sometimes changing the desktop resolution can cause the desktop icons to move and fit to the resolution size.


Aussie(Posted 2011) [#3]
Thanks Ross.

Is it possible for blitz to find the desktop resolution & set Graphics3d to the same resolution?


Kryzon(Posted 2011) [#4]
Yes it is, you use the GetSystemMetrics function of User32 from the Windows API.
Read more on this thread.


Adam Novagen(Posted 2011) [#5]
Hey hey, nice link Kryzon. I think I might know exactly where and how I can use that. :D


Aussie(Posted 2011) [#6]
Beautiful. Thanks Kryzon