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.


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

Determine the size of the windows taskbar with Delphi 4?

How can I determine the size of the windows taskbar with Delphi 4?

There are several ways to obtain this information:

  • look at SystemParametersInfo and the SPI_GETWORKAREA index
  • use Screen.DesktopHeight, Screen.DesktopWidth properties
  • call
    SHAppBarMessage(ABM_GETTASKBARPOS, pabd);
    and then read the APPBARDATA structure for the Height and Width.

Generated 20:02:02 on Aug 3, 2020