Activate Windows Start button from code

Submitted by:Pitter Alderson

Date added:20 April, 2011

Category:Delphi

Here's how to invoke a click on a Windows Start button from code.

Tags: activate windows start button

Code Snippet:

procedure TForm1.Button1Click(Sender: TObject) ;
begin
SendMessage(Form1.handle,
WM_SYSCOMMAND,
SC_TASKLIST,0) ;
end;
 
 

Comments