StuartB_99
asked on
Screen Saver on a form !!!!!
I have a screen saver ie MyScreenSaver.Scr. I also have a form in my application ie MyAppForm, on this form I have a large panel, and in this large panel I want to show the above screensaver, ..
Can this be done and if so, how do I do it ????
Thanx in advance
Stu
Can this be done and if so, how do I do it ????
Thanx in advance
Stu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanx very much,...
Stuart
Stuart
ASKER
Cheers Michael, but Barry just pipped you to the post, but a huge thankyou to you both..
Stuart
SBond@Costcutter.Com
Stuart
SBond@Costcutter.Com
If your Screensaver supports the Preview, you could use
something like:
procedure TForm1.Button1Click(Sender
begin
screensaver := 'c:\win95\system\Flying Windows.scr /P' + InttoStr(Panel1.Handle );
WinExec(pchar(screensaver)
end;
Michael