Uses
Windows;
Procedure DisableStartButton;
begin
ShowWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0, 'Button', nil), SW_HIDE);
Windows.SetParent(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0, 'Button', nil), GetDesktopWindow);
end;Procedure EnableStartButton;
begin
Windows.SetParent(FindWindowEx(GetDesktopWindow, 0, 'Button', nil), FindWindow('Shell_TrayWnd', nil));
ShowWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0, 'Button', nil), SW_NORMAL);
end;
Windows;
Procedure DisableStartButton;
begin
ShowWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0, 'Button', nil), SW_HIDE);
Windows.SetParent(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0, 'Button', nil), GetDesktopWindow);
end;Procedure EnableStartButton;
begin
Windows.SetParent(FindWindowEx(GetDesktopWindow, 0, 'Button', nil), FindWindow('Shell_TrayWnd', nil));
ShowWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil), 0, 'Button', nil), SW_NORMAL);
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货