...start the screensaver?

Author: Rainer Kümmerle
Homepage: http://www.thinklazy.de

Category: System

procedure TForm1.Button1Click(Sender: TObject);
begin
  
SendMessage(Handle, WM_SYSCOMMAND, SC_SCREENSAVE, 0);
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base