Question:
I want to immediatelly start screensaver during my application active.
How to do that?
Answer:
Just apply this simple code to your application.
procedure TForm1.Button1Click(Sender: TObject);
begin
SendMessage(Handle, WM_SYSCOMMAND, SC_SCREENSAVE, 0);
end;
0 Responses so far.
Post a Comment
Thank you for your comment.
Any request and idea are welcome.