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.

Highlighten der Items über die man mit der Maus fährt

Empfohlene Antworten

Hallo zusammen,

ich habe ein Problem mit meinem CTreeCtrl.

Ich möchte per drag n' drop die items des Trees verschieben können.

Leider stehe ich nun vor dem Problem, dass es erwünscht ist, das das Item über das die Maus gerade (im geklicktem Zustand) fährt farbig markiert wird.

Ich hatte gedacht das wäre kein Thema, doch leider ist es das doch :S

Meine Idee ist in der PreTranslateMessage() im case WM_MOUSEMOVE abzufragen über welches Item die Maus gerade fährt. Das funktioniert auch wunderbar nur leider weiß ich nicht wie ich dieses Item jetzt farbig markieren kann. OnCustomTreeDraw hab ich schon ausprobiert nur leider muss man dazu ein Redraw machen, was das ganze sehr "blinkend" macht. Ich hoffe einer von euch hat eine andere Idee für mich!

Danke schon im voraus!

Gruß Faby

  • Autor

Danke für die Antwort!

Ich habs jetzt anders gemacht ich hab mithilfe von SetInsertMark diesen Strich zwischen den Items eingebaut!

Wir werden sehen ob der Auftraggeber damit auch zufrieden ist ;)

gruß faby

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.