Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming! |
⤷ Hide windows 95 taskbar
Taskbar windows name is 'Shell_TrayWnd'. So use Win32 function FindWindow to find Windows95 Taskbar, and Win32 function ShowWindow to it hide or restore.For example:
procedure TForm1.Button1Click(Sender: TObject);
var
WindowHandle: HWnd;
begin
WindowHandle:=FindWindow('Shell_TrayWnd','');
if WindowHandle<>0 then
ShowWindow(WindowHandle,SW_HIDE);
end;
procedure TForm1.Button2Click(Sender: TObject);
var
WindowHandle: HWnd;
begin
WindowHandle:=FindWindow('Shell_TrayWnd','');
if WindowHandle<>0 then
ShowWindow(WindowHandle,SW_RESTORE);
end;
-
More for developers