GERMAN:
Die Möglichkeit das Rechteck der Auswahl (aktiv und inaktiv) zu beeinflussen. In meinem gesamten Programm habe ich Selektionen mit einem Farbverlauf.. nur in der leider nicht in diesem Control :/
ENGLISH:
The possibility to modify the selection-rectangle (active and inactive).
In my program, all controls have an gradient-selrect.. but not in this :/
selection
GERMAN:
Das sollte über Custom Draw möglich sein. Dazu ist es nötig, das Control zu subclassen und WM_NOTIFY/NM_CUSTOMDRAW zu behandeln. Man muss dann die Markierung und leider auch den Item-Text selbst malen.
Sollte ich am Wochenende irgendwie Zeit finden, werde ich mal versuchen, ein kleines Beispielprojekt auf die Beine zu stellen.
ENGLISH:
This should be possible using Custom Draw. You'll need to subclass the control and handle WM_NOTIFY/NM_CUSTOMDRAW. Then, you'll need to draw the selection and the item text yourself.
If there's any time, I'll try to create a small sample project this weekend.
Das sollte über Custom Draw möglich sein. Dazu ist es nötig, das Control zu subclassen und WM_NOTIFY/NM_CUSTOMDRAW zu behandeln. Man muss dann die Markierung und leider auch den Item-Text selbst malen.
Sollte ich am Wochenende irgendwie Zeit finden, werde ich mal versuchen, ein kleines Beispielprojekt auf die Beine zu stellen.
ENGLISH:
This should be possible using Custom Draw. You'll need to subclass the control and handle WM_NOTIFY/NM_CUSTOMDRAW. Then, you'll need to draw the selection and the item text yourself.
If there's any time, I'll try to create a small sample project this weekend.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!
GERMAN:
Das versprochene Beispiel befindet sich im Anhang. Es ist nicht perfekt, aber es zeigt wie es geht.
ENGLISH:
I've attached the promised sample. It's not perfect, but demonstrates how to do it.
Das versprochene Beispiel befindet sich im Anhang. Es ist nicht perfekt, aber es zeigt wie es geht.
ENGLISH:
I've attached the promised sample. It's not perfect, but demonstrates how to do it.
- Attachments
-
- GradientSelection.zip
- Gradient item selections using custom draw.
- (12.26 KiB) Downloaded 707 times
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!