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.

Dynamisch Events abfangen

Empfohlene Antworten

Hallo Leute,

ich erstelle in meinem Programm zur Laufzeit ein CListCtrl (also nicht in den Resourcen gezeichnet!).

Das funktioniert schon recht gut.

nur jetzt möchte ich darauf reagieren können wenn der Benutzer eine Zeile markiert.

aber da das listctrl nicht in den Resourcen ist, kann ich natürlich auch keine Behandlungsroutine über den Assistenten erstellen.

Kann mir jemand erklären wie ich dass in meinem fall machen kann?

SwordMaster

Dein Parent-Window erhält entsprechende WM_NOTIFY Nachrichten. Diese sind in der MSDN dokumentiert (beginnen im Fall von list-view controls alle mit LVN_). Du verarbeitest sie ganz normal in der nachrichtenverarbeitenden Funktion Deines Fensters bzw. Dialogs (WindowProc oder DialogProc). Um welches Dialogelement es sich handelt, bekommst Du anhand des Handels oder der ID heraus.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.