Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi größe einer scrollbar (https://www.delphipraxis.net/12770-groesse-einer-scrollbar.html)

silentAMD 3. Dez 2003 20:27


größe einer scrollbar
 
Hi,
wie kann man die größe einer scrollbar herausfinden? also die windows-standard größe, die man in der anzeige einstellen kann.

PLEASE HELP!!!

sakura 3. Dez 2003 20:41

Re: größe einer scrollbar
 
Dazu benötigst Du den WinAPI Befehl GetSystemMetrics

Delphi-Quellcode:
  // vertikal
  ShowMessage(IntToStr(GetSystemMetrics(SM_CXVSCROLL)));
  // horizontal
  ShowMessage(IntToStr(GetSystemMetrics(SM_CXHSCROLL)));
...:cat:...


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:31 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz