AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

ListBox Scrollleiste entfernen, geht das?

Ein Thema von ensacom · begonnen am 30. Mär 2005 · letzter Beitrag vom 13. Jul 2005
Antwort Antwort
Kernel32.DLL
(Gast)

n/a Beiträge
 
#1

Re: ListBox Scrollleiste entfernen, geht das?

  Alt 30. Mär 2005, 13:46
Weil es LB_SETVERTICALEXTENT nicht gibt!

Das PSDK bietet dir das:

Aus dem PSDK Februar 2003:

lResult = SendMessage( // returns LRESULT in lResult
(HWND) hWndControl, // handle to destination control
(UINT) LB_SETHORIZONTALEXTENT, // message ID
(WPARAM) wParam, // = (WPARAM) () wParam;
(LPARAM) lParam // = (LPARAM) () lParam; );

Parameters:

wParam
Specifies the number of pixels by which the list box can be scrolled.
Microsoft® Windows® 95/Windows 98/Windows Millennium Edition (Windows Me) : The wParam parameter is limited to 16-bit values.

lParam
This parameter is not used.
Return Value


An application sends an LB_SETHORIZONTALEXTENT message to set the width, in pixels, by which a list box can be scrolled horizontally (the scrollable width). If the width of the list box is smaller than this value, the horizontal scroll bar horizontally scrolls items in the list box. If the width of the list box is equal to or greater than this value, the horizontal scroll bar is hidden.

Minimum operating systems: Windows 95, Windows NT 3.1


Nimm also LB_SETHORIZONTALEXTENT, müsste in der windows.pas deklariert sein, die Standardmäßig eingebunden ist.

mfg
Daniel
  Mit Zitat antworten Zitat
Antwort Antwort

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:13 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz