Source Code



Activating the Start Menu by Code

  • anonymous
  • Feb 22' 14
  • Delphi
  • 143
  • 217
  • United States

Just code this event handler (in this example, a button click):


procedure TForm1.Button1Click(Sender: TObject);
begin
  SendMessage(Self.Handle, WM_SYSCOMMAND, SC_TASKLIST, 0);
end;
  • Tags : menu, activating
comments powered by Disqus

Related Code

MenuItem to the right

Align menu text to the right



Category

Tag Linked