Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Scrollbalken vorhanden ?

Empfohlene Antworten

Veröffentlicht

Hallo,

ich versuche gerade verzweifelt eine Möglichkeit zu finden, um zu überprüfen, ob gerade ein horizontaler Scrollbalken in einem TreeView angezeigt wird oder nicht. Ein vertikaler Scrollbalken existiert immer!

Ich hab's so versucht:

Ich ermittle die Daten des Scrollbalkens mit:

SCROLLINFO si;

pTreeCtrl->GetScrollInfo(SB_HORZ, &si);

if (si.nMax == 0)

{ // kein Scrollbalken vorhanden}

Und obwohl es keinen horizontalen Scrollbalken gibt, habe ich ein si.nMax = 100!?

Wenn es im weiteren Verlauf mal einen hor.Balken gibt und dann wieder nicht, habe ich ein si.nMax = 0, was ja logisch ist.

Hat jemand eine Idee?

Es gibt doch bestimmt eine ganz einfache Möglichkeit zu überprüfen, ob ein Scrollbalken sichtbar ist oder nicht !

Danke für eventuelle Gedanken hierzu!

Grüße

Olli

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.