AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Listbox Scrollbar wegmachen?

Ein Thema von Pseudemys Nelsoni · begonnen am 19. Mai 2003 · letzter Beitrag vom 7. Jul 2010
 
Benutzerbild von Pseudemys Nelsoni
Pseudemys Nelsoni

Registriert seit: 24. Dez 2002
Ort: Hamburg-Harburg
3.551 Beiträge
 
#5
  Alt 19. Mai 2003, 16:36
siehe bild im anhang, ich hab schon eine scrollbar d.h die alte soll weg

jemand der sich in delphi auskennt sagte mir das ich in der SDK hilfe nach "ShowScrollBar" gucken soll, k hab ich:

Delphi-Quellcode:
The ShowScrollBar function shows or hides the specified scroll bar.

BOOL ShowScrollBar(

    HWND hWnd,   // handle of window with scroll bar
    int wBar,   // scroll bar flag
    BOOL bShow    // scroll bar visibility flag
   );   
 

Parameters

hWnd

Identifies a scroll bar control or a window with a standard scroll bar, depending on the value of the wBar parameter.

wBar

Specifies the scroll bar(s) to be shown or hidden. This parameter can be one of the following values:

Value   Meaning
SB_BOTH   Shows or hides a window's standard horizontal and vertical scroll bars.
SB_CTL   Shows or hides a scroll bar control. The hWnd parameter must be the handle of the scroll bar control.
SB_HORZ   Shows or hides a window
's standard horizontal scroll bars.
SB_VERT   Shows or hides a window's standard vertical scroll bar.


bShow

Specifies whether the scroll bar is shown or hidden. If this parameter is TRUE, the scroll bar is shown; otherwise, it is hidden.



Return Values

If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

While processing a scroll bar message, an application should not call this function to hide a scroll bar.

See Also

GetScrollPos, GetScrollRange, ScrollDC, ScrollWindow, SetScrollPos, SetScrollRange

aber damit kann ich wirklich nichts anfangen

:\
Angehängte Grafiken
Dateityp: jpg tsc.jpg (82,2 KB, 63x aufgerufen)
Mario
  Mit Zitat antworten Zitat
 


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 15:40 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