--> How to display the windows start menu, without clicking the start button. | Delphi Tips Trick

For Newbie

Tuesday 15 November 2011

How to display the windows start menu, without clicking the start button.

| Tuesday 15 November 2011


Declaration procedure:
ShowStartMenu procedure;
var
   hSMenu: HWND;
begin
   hSMenu: = FindWindow ('DV2ControlHost', 'Start Menu');
   ShowWindow (hSmenu, SW_RESTORE);
end;

Examples of Implementation:
Procedure TForm1.Button1Click (Sender: TObject);
begin
   ShowStartMenu;
end;

Related Posts

No comments: