DelphiFAQ Home Search:
General :: Windows :: Programming :: Windows with Delphi :: Windows Forms
Code snippets, Q+A around the Windows user interface. From a Delphi perspective, but usually applicable to other languages.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Only the 40 most recently viewed articles are shown.
You can see the full list here.

Featured Article

Hiding/showing the Windows 95 taskbar

Use these functions to hide or show the Windows 95 taskbar programmatically from your Delphi application:

  
 procedure hideTaskbar;
 var
   wndHandle : THandle;
   wndClass : array[0..50] of Char;
 begin
   StrPCopy(@wndClass[0], 'Shell_TrayWnd');
   wndHandle := FindWindow(@wndClass[0], nil);
   ShowWindow(wndHandle, SW_HIDE); // This hides the taskbarend;
 
 procedure showTaskbar;
 var
   wndHandle : THandle;
   wndClass : array[0..50] of Char;
 begin
   StrPCopy(@wndClass[0], 'Shell_TrayWnd');
   wndHandle := FindWindow(@wndClass[0], nil);
   ShowWindow(wndHandle, SW_RESTORE); // This restores the taskbarend; 
 

Generated 20:02:36 on Aug 24, 2019