1. Home
  2. Computing & Technology
  3. Delphi Programming

Enable/Disable the Windows 'START' button

By Zarko Gajic, About.com Guide

If you need to enable or disable the Windows Start button (on TaskBar) from Delphi code..

~~~~~~~~~~
//Enable:
EnableWindow(FindWindowEx(FindWindow
   ('Shell_TrayWnd', nil), 0,'Button',nil),TRUE) ;
//Disable:
EnableWindow(FindWindowEx(FindWindow
   ('Shell_TrayWnd', nil), 0,'Button',nil),FALSE) ;

~~~~~~~~~~

Delphi tips navigator:
» Is Delphi IDE running? « Setting Paradox password automatically

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 1999 Delphi Tips
  7. Enable/Disable the Windows 'START' button

©2009 About.com, a part of The New York Times Company.

All rights reserved.