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.

item in einer combobox deaktivieren

Empfohlene Antworten

ist es möglich ein item in einer combobox zu deaktivieren oder muss ich es aus der liste löschen?

Ich glaube im Normalfall ist das nicht möglich, aber du kannst ja die

WM_DRAWITEM nehmen und das Item selber (z.B.) grau anmalen, und

dann fängst du noch CBN_SELCHANGE ab und prüfst darin ob das Element

gesperrt ist, und wenn ja kannst du die Selektion einfach zurücksetzen.

Klar? Geholfen?

Gruß

Diablo999

ICh hab mal deine Idee aufgeriffen und so ne Combobox programmiert,

da kann man jetzt mithilfe des ItemDatas Elemente deaktivieren...

Wenn du willst schick ich dir mal den Code!

Aber ich hab da auch mal noch ne Frage:

Kann ich aus den Mauskoordinaten ermitteln über welchem Item der Combobox

die Maus ist?

Diablo999

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.