mr white / dogbert: thanks, looks like something in the kind i've been looking for... problem: it doesn't work. at startup it shows "Could not locate desktop". did I miss something? i've put the following two lines in step.rc:
LoadModule "$ModulesDir$BakSaver.dll"
BackScreenSaver F:/xinxp/system32/ssmypics.scr
part of the sourcecode:
int initModuleEx(HWND ParentWnd, HINSTANCE dllInst, LPCSTR szPath)
{
RECT r;
Pwin = ParentWnd;
GetClientRect(GetDesktopWindow(),&r);
ScreenWidth = r.right;
ScreenHeight = r.bottom;
desktop = FindWindow("DesktopBackgroundClass", NULL);
if (!desktop)
{
MessageBox(ParentWnd, "Could not locate desktop!", "Background ScreenSaver - Error", 0);
return 1;
}
GetSettings();
if (StartRunning == TRUE)
{
BangStartSaver(ParentWnd, NULL);
}
RegisterBangCommands();
return 0;
}