隐藏开始按钮:
var
rgn:hrgn;
Rgn := CreateRectRgn(0, 0, 0, 0);
  SetWindowRgn(FindWindowEx(FindWindow('Shell_TrayWnd', nil),0,'Button',nil),Rgn, true);
显示开始按钮:
{Turn the start button back on}
  SetWindowRgn(FindWindowEx(FindWindow('Shell_TrayWnd', nil),0,'Button',nil),0,true);
禁止开始按钮:
 {Disable the start button}
  EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil),0, 'Button', nil),false);
允许开始按钮:
{Enable the start button}
  EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil),0,'Button',nil),true);

解决方案 »

  1.   

    告诉你一个简单的方法:
    按PrintScreen键,然后打开画板程序,选择粘贴把桌面的图标擦除掉
    然后保存为墙纸,然后把任务栏拉到下底,看不见为止,
    哈哈,怎么样?开始菜单和时间都无效了吧!!!试试好用再给分!!
    有疑问再联系
      

  2.   

    dv的方法甚秒.最好将任务栏拉倒屏幕上方并隐藏.Kingron老兄总是让我无处发言.
      

  3.   

    使用代码隐藏开始按钮及时间显示区域,我的竹叶上有源程序
    www.applevb.com
      

  4.   

    谢谢大家!
       你们的方法都很好,不过我已经自己解决了,有兴趣的朋友可发E-Mail给我。