Advertisement
ASP_Volume3 Custom Controls/ Forms/ Menus #46035

TaskBar Height

The purpose of the code is to determine the height of the taskbar so that you can display a form at the bottom right hand corner of the screen everytime.

AI

KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Quellcode
original-source
' this code will display a form at the bottom right had corner everytime.
   dim WindowRect as RECT
   SystemParametersInfo SPI_GETWORKAREA, 0, WindowRect, 0
  
   FrmMain.Top = WindowRect.Bottom * Screen.TwipsPerPixelY - FrmMain.Height
   FrmMain.Left = WindowRect.Right * Screen.TwipsPerPixelX - FrmMain.Width
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine